! set the thread local storage pointer */
| 140 | |
| 141 | /*! set the thread local storage pointer */ |
| 142 | void setTls(tls_t tls, void* const ptr) { |
| 143 | TlsSetValue(DWORD(size_t(tls)), ptr); |
| 144 | } |
| 145 | |
| 146 | /*! return the thread local storage pointer */ |
| 147 | void* getTls(tls_t tls) { |