From: Joel de Guzman (joel_at_[hidden])
Date: 2005-06-12 18:50:20
Brian Braatz wrote:
>>Super! How about the adaptable closures? I have to warn you though
>>that this may be a temporary bridge for Spirit 1.8 to Spirit 2.0.
>>Adaptable closures support may be retired in place of true local
>>variables (already supported in Phoenix 2); unless a solution
>>can be found to get rid of the nasty TLS ugliness in multithreaded
>>Joel de Guzman
> [Brian Braatz Writes:]
> If you would permit indulging my curiosity: :)
> I understand TLS. But I don't understand your problem?
> Is the problem because you need to use a global or static and when do
> you so, you are not thread safe (i.e. the classic getlasterror() problem
> with threads)?
Yes. It needs a static.
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk