Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2001-08-23 06:03:54


> Opinions? This behavior (with one minor exception) is
> implementable now, at least on paper.

why not simply adopt POSIX model with respect to
pthread_exit/cancel/testcancel/setcancelstate/type
etc.. using "exit"/"cancel" exceptions? e.g.

http://tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51_PDF/ARH9RBTE.PDF

(your proposal does not match POSIX model)

also, i do not think that you really need suspend/resume
which is extremely dangerous (deadlock-prone).

regards,
alexander.


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