Created on 2008-09-15.00:00:00 last changed 162 months ago
Proposed resolution:
Change [thread.thread.this]/3:
void this_thread::yield();Effects: Offers the
operating systemimplementation the opportunity to reschedule.another thread.
[ Post Summit: ]
Recommend move to Tentatively Ready.
I never thought I'd say this, but this_thread::yield seems to be too strong in specification. The issue is that some systems distinguish between yielding to another thread in the same process and yielding to another process. Given that the C++ standard only talks about a single program, one can infer that the specification allows yielding only to another thread within the same program. Posix has no facility for that behavior. Can you please file an issue to weaken the wording. Perhaps "Offers the operating system the opportunity to reschedule."
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg4215 |
2010-10-21 18:28:33 | admin | set | messages: + msg4214 |
2008-09-15 00:00:00 | admin | create |