Opened 10 years ago
Closed 10 years ago
#7791 closed Bugs (wontfix)
suspicious code in shared_mutex::unlock_upgrade
| Reported by: | Owned by: | viboes | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | thread |
| Version: | Boost 1.52.0 | Severity: | Cosmetic |
| Keywords: | Cc: |
Description
shared_mutex::unlock_upgrade contains following code:
if(last_reader)
{
release_waiters(old_state);
} else {
release_waiters(old_state);
}
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
The windows version is deprecated since version 3. It will use the generic version when BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN is defined or BOOST_THREAD_VERSION>=3.
Since 1.53 BOOST_THREAD_VERSION default value will be 3.
The windows version will be removed some versions later.
I don't think it is worth fixing the windows version.
comment:3 by , 10 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

it is related to win32 implementation.