Thread error

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 05/01/2008 at 07:30, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :     C++  ;

---------
Greetings,

Does anyone has any idea why starting a thread asynchronously would result in the following error?

> _
> class CacheThread : public Thread {
> public:
>      CacheThread() {
>
>      }
>
>      virtual void Main(void) {
>
>      }
>
>      virtual Bool TestDBreak(void) {
>           return TRUE;
>      }
>
>      virtual const CHAR* GetThreadName(void) {
>           return "CacheThread";
>      }
> };
>
> CacheThread ct;
> ct.Start(TRUE);
> _

Thanks in advance,
Cheers,
Miha

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/04/2008 at 06:41, xxxxxxxx wrote:

For asynchronous threads you have to use the Wait() function of the thread after you started it.

cheers,
Matthias