Re: pthreads : questions about concurrency and lifetime
- From: Garrett Cooper <youshi10@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 16:07:21 -0800
Pieter de Goeje wrote:
On Tuesday 28 November 2006 23:41, Garrett Cooper wrote:Awesome; that's the answer I was looking for.
So that means no, after a function's definition is reached theIf you detach the thread, it will properly clean up after it self, after the thread has finished running.
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
-- Pieter
Thanks again!
-Garrett
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- pthreads : questions about concurrency and lifetime
- From: Garrett Cooper
- Re: pthreads : questions about concurrency and lifetime
- From: Pieter de Goeje
- Re: pthreads : questions about concurrency and lifetime
- From: Garrett Cooper
- Re: pthreads : questions about concurrency and lifetime
- From: Pieter de Goeje
- pthreads : questions about concurrency and lifetime
- Prev by Date: Re: pthreads : questions about concurrency and lifetime
- Next by Date: Re: Single UDP sockets : duplex capable?
- Previous by thread: Re: pthreads : questions about concurrency and lifetime
- Index(es):
Relevant Pages
- Re: pthreads : questions about concurrency and lifetime
... Pieter de Goeje wrote: ... the function body to the bottom of
the function body (assuming no ... The thread will cleanup automatically after the thread
function returns. ... (freebsd-hackers) - Re: panic: ffs_blkfree: freeing free block
... Pieter de Goeje wrote: ... disk following a crash. ...
I am not sure about the security impact of putting a coredump in a public ... (freebsd-current) - Re: panic: ffs_blkfree: freeing free block
... Pieter de Goeje wrote: ... they can no longer trigger it. ...
Doing a binary search now. ... (freebsd-current) - Re: See output of local xterm session on remote ssh session.
... Pieter de Goeje wrote: ... I have been searching Google for a
few days for this but have not been ... via the ssh session? ... (freebsd-questions) - Re: First steps towards importing gvirstor into -current
... Pieter de Goeje wrote: ... variant with format "%u" while the
parameter was a size_t, ... I needed to add -fPIC to the gcc command line to build geom_virstor.so.
... (freebsd-current)