Opened 8 years ago
Last modified 7 years ago
#11052 assigned Feature Requests
Make all executors copyable pointing to a shared context
Reported by: | viboes | Owned by: | viboes |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Ensuring that the lifetime of an executor is longer than the continuations could be hard for the user.
In particular, the tests add a sleep for to ensure it. This is not robust enough.
Change History (3)
comment:1 by , 8 years ago
Summary: | Make all executors copyable poining to a shared context → Make all executors copyable pointing to a shared context |
---|---|
Type: | Bugs → Feature Requests |
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
This branch https://github.com/boostorg/thread/tree/feature/make_executors_copyable implements copyable executors that point to a shared memory ensuring that the executor is destroyed only when there is no more references to it.