Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-04-20 18:26:20


Steven Watanabe wrote:
> That isn't what I meant. If
>
> void(*f)();
> {
> scoped_lock lock(m);
> f = make_c_function(...);
> }
> use f
>
> were sufficient I wouldn't have a problem.
>
> Unfortunatly, it is necessary to retain the lock
> until you are done with f.

Define "done with f".

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk