pthreads : questions about concurrency and lifetime
Pieter de Goeje
pieter at degoeje.nl
Tue Nov 28 23:00:42 UTC 2006
On Tuesday 28 November 2006 23:41, Garrett Cooper wrote:
> So that means no, after a function's definition is reached the
> thread/resources stay in a semi-'alive' (maybe 'zombified') state?, or
> does the kernel cleanup / reclaim all of the resources tied up with the
> thread?
> -Garrett
If you detach the thread, it will properly clean up after it self, after the
thread has finished running.
-- Pieter
More information about the freebsd-hackers
mailing list