2022-05-17 14:40:00 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_NEXGEN32E_THREADED_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_NEXGEN32E_THREADED_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2022-05-27 20:25:46 +00:00
|
|
|
extern int __threaded;
|
2022-05-17 14:40:00 +00:00
|
|
|
extern bool __tls_enabled;
|
|
|
|
extern unsigned __tls_index;
|
|
|
|
|
2022-09-08 09:33:01 +00:00
|
|
|
void TlsIsRequired(void);
|
2022-05-23 17:15:53 +00:00
|
|
|
void *__initialize_tls(char[64]);
|
|
|
|
void __install_tls(char[64]);
|
2022-05-17 14:40:00 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_NEXGEN32E_THREADED_H_ */
|