
20 Apr
2007
20 Apr
'07
10:33 p.m.
AMDG Rene Rivera <grafikrobot <at> gmail.com> writes:
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".
Reach a point where you will not call it again. (I'm refering the the value returned by make_c_function not the variable f) In Christ, Steven Watanabe