Boost logo

Boost :

From: Glen Knowles (gknowles_at_[hidden])
Date: 2004-06-22 19:22:19


> I don't know how java deals with this but on posix platforms
> a sub-process holds some resources that have to be claimed
> back by the parent process.
> This includes (but is not restricted to) the result of the
> process, i.e.
> its return value. In case you are familiar with (posix)
> threads: there you have to join a thread after it terminated.
> It's conceptually the same thing here.
>

If you find yourself joining posix's threads only for this reason you should
consider setting the detachstate attribute to PTHREAD_CREATE_DETACHED
instead.

Glen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk