Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-02 08:47:33


"Peter Dimov" <pdimov_at_[hidden]> writes:

> John Maddock wrote:
>>> ** checking pthread_yield... no
>>> This is correct, but I do have a pthread_yield_np() function, maybe
>>> we should look for it, too.
>>
>> It's up to the thread lib guys to use it (or not), maybe you could
>> hassle the authors of the thread lib you are using to provide a
>> standard
>> function signature?
>
> There is no pthread_yield in POSIX. Yields are evil anyway. ;-)

Why evil?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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