mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-04 07:58:21 +00:00
This change simplifies the thread-local storage support code. On Windows and Mac OS X the startup latency of __enable_tls() has been reduced from 30ms to 1ms. On Windows, TLS memory accesses will now go much faster due to better self-modifying code that prevents a function call and acquires our thread information block pointer in a single instruction. |
||
---|---|---|
.. | ||
attr.c | ||
ctor.S | ||
freebsd.internal.h | ||
internal.h | ||
key.c | ||
mktls.c | ||
openbsd.internal.h | ||
pthread_getspecific.c | ||
pthread_key_create.c | ||
pthread_key_delete.c | ||
pthread_key_destruct.c | ||
pthread_setspecific.c | ||
self.c | ||
sem.c | ||
spawn.c | ||
spawn.h | ||
thread.h | ||
thread.mk | ||
wait.c | ||
xnu.internal.h |