#include <syslog-ng-config.h>
#include <stdlib.h>
#include <pthread.h>
Go to the source code of this file.
◆ __slng_tls_deref
| #define __slng_tls_deref |
( |
|
var | ) |
(*({ struct __slng_tls_variables *__ptr = __slng_tls_deref_helper(__slng_tls_key, sizeof(struct __slng_tls_variables)); &__ptr->var; })) |
◆ __thread
◆ TLS_BLOCK_END
◆ TLS_BLOCK_START
Value: static pthread_key_t __slng_tls_key; \
static
void __attribute__((constructor)) __slng_tls_init_key(
void) \
{ \
pthread_key_create(&__slng_tls_key, free); \
} \
\
struct __slng_tls_variables
__attribute__((__visibility__("hidden")))
Definition: native-parser.c:32