[Vortex] [PATCH] fix vortex threads and vortex_exit

Benoit Amiaux b.amiaux at ateme.com
Mon Dec 10 16:57:36 CET 2007


Hello,

Francis Brosnan Blazquez wrote:
> However, i'm still not able to see how this affect to the thread pool
> releasing since axl_list_remove or axl_list_unlink aren't used..

My mistake, axl_list_free does indeed work, only axl_list_remove and 
axl_list_unlink doesn't.
So it's only needed to either specify axl_list_remove use the equal 
pointer (and then add axl_list_remove_ptr and fix all lists using both 
axl_list_remove with axl_list_always_return_1). I think this option is 
very error-prone.

IMO axl_list_remove should just remove pointers, and so we just need to 
fix axl_list_internal_linear_lookup to discard the equal function (btw 
that's what the comment suggest). That's what my previous patch does.

Bye,
AMIAUX Benoit





More information about the Vortex mailing list