
7 Apr
2006
7 Apr
'06
1:07 p.m.
On 4/7/06, Roland Schwarz <roland.schwarz@chello.at> wrote: [snipped]
To get platform independent behavior the ptr has to be declared globally.
The problem is that it isnt possible when a ptr must be used in a free template function and the pointer is parameterized on the template function parameters. That was the spirit case. There isnt any solution from the boost.thread for this. Which, IMO, it leads to believe that thread_specific_ptr is the solution. After all, it is the only public solution for tss in boost.thread.
Roland
best regards, -- Felipe Magno de Almeida