Date: Tue, 28 Nov 2006 16:07:21 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-hackers@freebsd.org Subject: Re: pthreads : questions about concurrency and lifetime Message-ID: <456CCF39.9090808@u.washington.edu> In-Reply-To: <200611290000.37322.pieter@degoeje.nl> References: <456CAB12.9070507@u.washington.edu> <200611282302.08439.pieter@degoeje.nl> <456CBB09.10804@u.washington.edu> <200611290000.37322.pieter@degoeje.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pieter de Goeje wrote: > 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 > Awesome; that's the answer I was looking for. Thanks again! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456CCF39.9090808>