Boost logo

Boost :

From: terekhov_at_[hidden]
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.
You could
> throw some exception object containing this errno value.
> --
> jk

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, gregod at, cpdaniel at, john at