Opened 10 years ago
Closed 10 years ago
#7798 closed Bugs (fixed)
boost::future set_wait_callback thread safety issues
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.53.0 | Component: | thread |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Change History (4)
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Milestone: | To Be Determined → Boost 1.53.0 |
---|
I have just added a lock to protect the callback setting. Committed in trunk [81975].
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The issue is more complex than it seems at a first glance. From the documentation it seems that the callback should be called each time a wait function is called.