Boost logo

Boost :

Subject: Re: [boost] Removing auto_ptr/etc. from Boost
From: Nevin Liber (nevin_at_[hidden])
Date: 2015-03-19 14:24:46


On 19 March 2015 at 13:19, Andrey Semashev <andrey.semashev_at_[hidden]>
wrote:

> On Linux rand() is not thread safe in the sense that its result is not
> predictable, which is fine.
>

This sounds suspicious.

Are you sure there are no race conditions inside the implementation of
rand()? If there are race conditions, how do you know they are always
benign?

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

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