Disable __thread support
问题 I'm implementing a pthread replacement library which is extremely lightweight. There are several reasons why I want to disable __thread completely. It's a waste of memory. If I'm creating a thousand threads which has nothing to do with the context that declares a variable with __thread they will still allocate the program will still have allocated 1000*the size of that data bytes and never use it. It's simply not memory compatible with the mass-concurrency model. If we need extremely