|
Boost : |
From: Eugene Karpachov (jk_at_[hidden])
Date: 2001-03-15 10:52:09
Thu, Mar 15, 2001 at 03:10:51PM -0000, williamkempf_at_[hidden] ÐÉÛÅÔ:
> > how about return code checks?
>
> A valid point. Someone more familiar with pthreads should address
> this, raising an exception in all likelyhood. Thoughts from others?
As usual with POSIX, check for -1 as error flag and inspect errno. You could
throw some exception object containing this errno value.
-- jk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk