
8 Apr
2015
8 Apr
'15
8:57 p.m.
On Sat, Feb 1, 2014 at 2:31 PM, Erik Huelsmann <ehuels@gmail.com> wrote:
Hi James,
Thanks for confirming that.
What would you consider the best option when the timeout value becomes too close to 0? I see 2:
1. Don't wait. 2. Wait at least 1 ns
In the context of bordeaux-threads, I think it would be unexpected if condition-wait did no waiting at all, even if given a timeout that will surely be exceeded. In the limit of the timeout approaching zero, I would say that condition-wait converges to pthread_yield rather than a noop.