#7537 closed Feature Requests (fixed)
deprecate Mutex::scoped_lock and scoped_try_lock and boost::condition
| Reported by: | viboes | Owned by: | viboes |
|---|---|---|---|
| Milestone: | Boost 1.53.0 | Component: | thread |
| Version: | Boost 1.52.0 | Severity: | Cosmetic |
| Keywords: | Cc: |
Description
The Mutex::scoped_lock and scoped_try_lock make mutex types dependent from locks.
I would like to make them independent.
In addition they are there since 1.35. I think it is time the user moves to use the standard unique_lock.
The boost::condition condition is there since 1.35. I think it is time the user moves to use the standard condition_variable_any.
As usual, the user will have 6 releases to move. Two macros will be provided to enable/disable the inclusion of the deprecated features.
Change History (5)
comment:1 by , 10 years ago
| Status: | new → assigned |
|---|
comment:2 by , 10 years ago
| Milestone: | To Be Determined |
|---|
comment:3 by , 10 years ago
| Milestone: | → Boost 1.53.0 |
|---|
comment:4 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:5 by , 9 years ago
Please reconsider this as std::condition_variable doesn't have support for thread interruption.
Note:
See TracTickets
for help on using tickets.

Committed revision [81667].