Hi All,

The Win32 implementation of OpenThreads::Thread::testCancel terminates the
current thread (setCancelModeDeferred) by raising an exception. This is not
a big issue but merely annoying while debugging. I'm wondering whether
raising an exception is the best way to terminate a thread under Win32. The
blame annotation shows that this method (or should I say hack?) has been in
the code for quite some time (rev 2200). Why was the ExitThread statement
replaced by a thrown exception?

Cheers,

Gino
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to