Opened 14 years ago

Last modified 10 years ago

#2430 reopened Feature Requests

shared_mutex for win32 doesn't have timed_lock_upgrade

Reported by: Andrey.Semashev@… Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost 1.36.0 Severity: Problem
Keywords: shared_mutex timed_lock_upgrade Cc: viboes

Description

The shared_mutex in boost/thread/win32/shared_mutex.hpp doesn't provide timed_lock_upgrade method while the POSIX counterpart does. Applies to 1.36, 1.37 (release in SVN) and trunk.

Change History (8)

comment:1 by viboes, 12 years ago

Cc: viboes added

comment:2 by _alek@…, 12 years ago

and respective timed_unlock_upgrade_and_lock methods

comment:3 by Anthony Williams, 12 years ago

Status: newassigned

comment:4 by viboes, 11 years ago

Type: BugsFeature Requests

As these members are not documented, this should be taken as Feature request.

comment:5 by viboes, 11 years ago

Owner: changed from Anthony Williams to viboes
Status: assignednew

When BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN is defined in trunk it provides the equivalent interface using chrono. Let me know if this respond to your request.

comment:6 by viboes, 10 years ago

Milestone: Boost 1.37.0Boost 1.50.0
Resolution: fixed
Status: newclosed

Committed in release branch at [78543]

comment:7 by viboes, 10 years ago

Resolution: fixed
Status: closedreopened

Reopened as BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN will not be defined by default and as #7906 states there is a lost in performances when this define is defined.

comment:8 by viboes, 10 years ago

Milestone: Boost 1.50.0To Be Determined
Note: See TracTickets for help on using tickets.