Quote:
Originally Posted by Soundbytes
Here is a first version of my threading class. It works fine in windows but unfortunately does not compile in OS X. It uses the GetExitCodeThread() WIN32 API function that is not supported by swell. Is there an alternative way to check the thread status that can be implemented with IPlug/swell?
I need to know the thread status because otherwise the thread object might be destroyed before the tread is properly exited.
Any hints are most welcome. Thanks!
|
I don't know much about threads, but I think WaitForSingleObject(hdn, 0) does what you want.