Date: 2001-03-15 11:03:28
--- In boost_at_y..., Eugene Karpachov <jk_at_s...> wrote:
> Thu, Mar 15, 2001 at 03:10:51PM -0000, williamkempf_at_h... ÐÉÛÅÔ:
> > > how about return code checks?
> > A valid point. Someone more familiar with pthreads should
> > this, raising an exception in all likelyhood. Thoughts from
> As usual with POSIX, check for -1 as error flag and inspect errno.
> throw some exception object containing this errno value.
POSIX _threads_ calls do not use errno (-1 as error flag)
ZERO return value is used as OK indication, non-zero
return value is used as spec. status (error) indication.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk