On Sat, 2003-03-22 at 20:20, Carl G Lewis wrote:
> The failure of pthread_create seems related to the fact that the function uses 
> pthread_cancel, which (I think) will not release the resources from the 
> created threads, instead pthread_join should be used (maybe in addition to 
> pthread_cancel).

and it uses 'kill' not pthread_kill.
it appears to be treating the threads it creates as separate
processes (which may be correct in linux due to each thread having
it's own pid (dodgy way linux deals with threads)) which doesn't
seem right to me.

I agree with Carl though, you're probably running out of threads
cos you're not reusing them due to not exiting them properly.

Dave.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to