|
Boost : |
Subject: Re: [boost] Problems with yield_k workaround. Still too slow.
From: Marcello Pietrobon (marcello.pietrobon_at_[hidden])
Date: 2013-09-07 13:59:29
The latest version, by Ion, using his spin_wait class solves completely the
problem, at least in the cases I could test.
An interesting note: Microsoft has introduced a function that completely
solves the sleep(1) problem:
http://msdn.microsoft.com/en-us/library/system.threading.thread.spinwait.aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1
No comments on their decision to provide it only for their .net library and
not for C++ as it seems to be.
-- View this message in context: http://boost.2283326.n4.nabble.com/Problems-with-yield-k-workaround-Still-too-slow-tp4650929p4651371.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk