Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-02-20 06:31:08


Ken Hagan wrote:
[...]
> 3a If we allow C<&k> [...] It is then possible to initialise static
> variables [...] and the results depend on the thread that ran
> first. Again, we have the same "problem" passing a pointer to
> a function, so I'm not bothered by this.

3b We allow C<&k> and make all its statics thread-local as well. The
   "problem" is that, probably, it will result in an equal number of
   somewhat irritated programmers as the 3a above.

regards,
alexander.


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