[Vortex] [PATCH] fix vortex threads and vortex_exit

Benoit Amiaux b.amiaux at ateme.com
Fri Dec 7 11:11:14 CET 2007


Currently, threads are not properly terminated, both under windows and 
linux. It's possible to have threads still runnning after vortex_exit() 
is called and so rogue threads can access invalid pointers.

Moreover, vortex_init doesn't properly reset __vortex_exit so it's 
impossible to have multiple vortex_init/vortex_exit cycles

Attached patch fix this.

I made a diff against vortex-r3145 as r3154 just crash at vortex_init 
for me without any changes

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix vortex threads and exit.patch
Url: http://lists.aspl.es/pipermail/vortex/attachments/20071207/1e1e4ea3/attachment.txt 

More information about the Vortex mailing list