Opened 9 years ago

Closed 9 years ago

#9572 closed Bugs (invalid)

this_thread::yield is not acting like an interruption point.

Reported by: beeblebrox42@… Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost 1.54.0 Severity: Regression
Keywords: Cc: beeblebrox42@…

Description

I'm using boost 1.54 built with clang 3.2-7ubuntu.

boost::this_thread::yield() will not throw the boost interruption exception when an interruption is sent to the thread. The documentation indicates that it should. If I add a boost::this_thread::interruption_point() the exception is thrown as expected. This is very similar to issue #7238 and the test could be modified to reproduce this issue.

Change History (3)

comment:1 by James Hart <beeblebrox42@…>, 9 years ago

Cc: beeblebrox42@… added

Never mind, I was mistaken the documentation does NOT state this is an interruption point. It should be fine to mark this as wontfix.

comment:2 by viboes, 9 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:3 by viboes, 9 years ago

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.