Modify

Opened 5 years ago

Closed 5 years ago

#6531 closed Bugs (fixed)

error in doc: interprocess/synchronization_mechanisms

Reported by: anonymous Owned by: igaztanaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_48_0/doc/html/interprocess/synchronization_mechanisms.html#interprocess.synchronization_mechanisms.upgradable_mutexes

quote 1 from

Upgradable Mutexes / What's An Upgradable Mutex? / Upgradable lock:

(...)If a thread acquires an upgradable lock, other threads can acquire a sharable lock.(...)

  • (true)

quote 2 from

Upgradable Mutexes / Upgradable Mutex Operations / Sharable Locking:

void lock_sharable()

Effects: The calling thread tries to obtain sharable ownership of the mutex, and if another thread has exclusive or upgradable ownership of the mutex, waits until it can obtain the ownership.

  • (false for upgradable ownership)

in lock_sharable(), try_lock_sharable(), timed_lock_sharable() etc.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by igaztanaga

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the report. Fixed in revisions 76979 & 76980 in trunk and release branches.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain igaztanaga.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.