Created attachment 617
__thread on D1
Enable the __thread storage class in D1. This enables D1 programs to optionally
make use of thread local storage (TLS). Note that this also can ease porting D1
programs to D2.
This doesn't break any existing D1 code, as identifiers starting with __ are
compiler reserved.
I appended a patch; it is embarrassingly simple.