At Tue, 15 Sep 2009 18:48:32 -0600, Gerard Jungman wrote: > I would like to know how non-portable this is. I mean, I understand it > is different for every platform, but if everybody has one then it > only becomes an issue of configuring the variability. > > Roughly speaking, I would think that every thread implementation must > have a notion of thread-local storage, so we're never required to > provide something that doesn't exist...
I don't know enough about it to really say, but I haven't seen any libraries following that approach -- returning an error code is the usual way.
