[Bug libstdc++/80538] Probably unwanted thread yield for thread::sleep_for with < 1s

2017-05-02 Thread zulliger at indel dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80538 --- Comment #2 from zulliger at indel dot ch --- Thank's for clarifying! If sleep(0)'s behaviour is undefined regarding 'thread yielding', then my whole point is wrong. (It seems I didn't read stackoverflow &

[Bug libstdc++/80538] New: Probably unwanted thread yield for thread::sleep_for with < 1s

2017-04-26 Thread zulliger at indel dot ch
mal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: zulliger at indel dot ch Target Milestone: --- libstdc++-v3 configured to NOT have _GLIBCXX_USE_NANOSLEEP, but to HAVE _GLIBCXX_HAVE_SLEEP and _GLIBCXX_HAVE_USLEEP defined, causes