THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/11/2004 at 12:54, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
Is there some good information about using threads in c4d ?
For instance: How can i implement it in a messaging system ?
What can be done with it, how to acces data in the thread etc.
The example code in the SDK is not that clear.
On 11/11/2004 at 05:59, xxxxxxxx wrote:
Anyone , Maxon ?
On 14/11/2004 at 10:57, xxxxxxxx wrote:
Most of the current thread functionality is available in 8.1 as well. Some more recent additions are the ability to test if you are in the main thread or not with GeIsMainThread(). Otherwise everything you need will be in the c4d_thread.h header and be explained in the SDK documentation. Messaging between threads can either be done manually with mutexes (GeSpinLock() etc.) or using the various Message() functions.