[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: pthreads : questions about concurrency and lifetime
From:       Garrett Cooper <youshi10 () u ! washington ! edu>
Date:       2006-11-29 0:07:21
Message-ID: 456CCF39.9090808 () u ! washington ! edu
[Download RAW message or body]

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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic