| 36 | } |
| 37 | |
| 38 | JEMALLOC_ALWAYS_INLINE void |
| 39 | tsd_wrapper_set(tsd_wrapper_t *wrapper) { |
| 40 | if (!TlsSetValue(tsd_tsd, (void *)wrapper)) { |
| 41 | malloc_write("<jemalloc>: Error setting TSD\n"); |
| 42 | abort(); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | JEMALLOC_ALWAYS_INLINE tsd_wrapper_t * |
| 47 | tsd_wrapper_get(bool init) { |
no test coverage detected