Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-09-02 09:45:48


David Abrahams wrote:
> "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?

Because they can only mask problems, not solve them, Sleep(1) in
lwm_win32.hpp notwithstanding. :-)


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