Actually, nevermind what I said about the callback scenario. I don't
think that is a problem because the compiler cannot assume the __thread
variable remains unchanged across the callback. Therefore it cannot
safely cache the value.

So I think only the header file scenario is a problem.

Stefan

Attachment: signature.asc
Description: PGP signature

Reply via email to