Opened 10 years ago

Closed 10 years ago

#7592 closed Feature Requests (fixed)

Add a null_mutex that is a no-op and that is a model of UpgardeLockable

Reported by: viboes Owned by: viboes
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.52.0 Severity: Not Applicable
Keywords: Cc:

Description

Sometimes we are sure that a class that is parameterized with a Lockable is used on a single-thread environment.

A null_mutex as the one in Boost.Interprocess that follows the Boost.Thread concept UpgradeLockable will help in this case.

Change History (5)

comment:1 by viboes, 10 years ago

Status: newassigned

comment:2 by viboes, 10 years ago

Committed revision [81081].

comment:3 by viboes, 10 years ago

Milestone: To Be Determined

comment:4 by viboes, 10 years ago

Milestone: Boost 1.53.0

comment:5 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.