Date: Wed, 29 Nov 2006 00:00:37 +0100 From: Pieter de Goeje <pieter@degoeje.nl> To: freebsd-hackers@freebsd.org Cc: Garrett Cooper <youshi10@u.washington.edu> Subject: Re: pthreads : questions about concurrency and lifetime Message-ID: <200611290000.37322.pieter@degoeje.nl> In-Reply-To: <456CBB09.10804@u.washington.edu> References: <456CAB12.9070507@u.washington.edu> <200611282302.08439.pieter@degoeje.nl> <456CBB09.10804@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611290000.37322.pieter>