[Vortex] [PATCH] fix vortex threads and vortex_exit

Francis Brosnan Blazquez francis at aspl.es
Mon Dec 10 14:07:04 CET 2007


> Hi,

Hi Amiaux,

> 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

Fantastic Amiaux. I've applied the patch against the current latest
stable svn [1], rev 3171. Also checked regression test runs properly. 

Good work!
Cheers!

> Bye,
> AMIAUX Benoit 

[1] https://dolphin.aspl.es/svn/publico/af-arch/trunk/libvortex/

-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.




More information about the Vortex mailing list