Opened 10 years ago
Last modified 10 years ago
#7541 closed Feature Requests
Add a thread wrapper class that interrupts and join on destruction — at Initial Version
Reported by: | viboes | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.53.0 | Component: | thread |
Version: | Boost 1.52.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
Based on the scoped_thread class defined in C++ Concurrency in Action define a thread wrapper class that instead of calling terminate if the thread is joinable on destruction, interrupts and join it if joinable.
Note:
See TracTickets
for help on using tickets.