THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2006 at 20:22, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C++ ;
---------
Hi all ...
Now I'm trying to render in a thread and it's working fine ...
But when I break the render using ESC key and try to stop the rendering thread using End function ... C4D stops responding ... So I think it's a deadlock situation ...
In the help file ... it's said ...
**
void End(void)
Ends the thread. This function will not return before the thread has completely stopped.
Note: If the thread does not check for TestBreak() then this function will not return until the thread has finished work and you might get into a deadlock situation.
**
I surely check for TestBreak ... but I got a deadlock ...
So how can I stop the thread?
Thanks in adnvance ...
Zaw Min Tun