pgaudillere / ops

Automatically exported from code.google.com/p/ops
0 stars 0 forks source link

boost::mutex::try_lock() is used unproperly in Lockable #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

try_lock() in Locakble::lock returns immediatly if the lock can not be taken, 
it Lockable::lock is supposed to lock.

Use boost::mutex::lock() instead.

Original issue reported on code.google.com by anton.gr...@gmail.com on 21 May 2010 at 1:56

GoogleCodeExporter commented 8 years ago

Original comment by anton.gr...@gmail.com on 27 May 2010 at 11:05