On 25/11/2015 16:48, David Engraf wrote: > > Indeed, TLS handling is broken. The address of iothread_locked is always > the same between threads and I can see that a different thread sets > iothread_locked to false, thus my current thread uses an invalid state. > I will have to check why my compiler produces invalid TLS code.
That rings a bell, I think there are different CRT libraries or something like that. Stefan, what would break TLS under Windows? Paolo