Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK Thread Change?

Author
Message
FlexiCat
14
Years of Service
User Offline
Joined: 15th Jun 2010
Location:
Posted: 6th Jul 2011 00:10
Heyo Forum,

I am working with embedding python into c++ to control functions that themselves call parts of DarkGDK (eg so I can say draw a box or something from within python) however I am having some issues with threading.

Stepping through the process, although the error report comes from python ("Fatal Python error: PyThreadState_Get: no current thread") it seems to abort/error during the DarkGDK stuff that comes in before calling anything in my own code...

So I am gathering that during the process of starting DarkGDK along side of python at some point the threads change and this is throwing an error.

My questions being, am I correct in my assumption that this is cause DarkGDK changes threads in the background and its screwing with python and can anyone think of a way to get this to work?

Thanks forum,
Nekroze

I swear to the programmers bible that I shall not harm the FPS.

Login to post a reply

Server time is: 2024-11-19 09:40:18
Your offset time is: 2024-11-19 09:40:18