Boost logo

Threads-Devel :

From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2007-07-06 20:52:39


Hi there,
just a short question about the usage of scoped_lock in inline functions. Is
it correct that, depending on whether a function is accepted as inline or
not by the compiler, a scoped_lock might actually remain active ? I.e.,
does the scope of a function end even if it is inlined in other code ?
Sorry if this is a stupid question.
Best Regards,
Ruediger


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk