libosmocore 1.11.0.26-c59d.202505072026
Osmocom core library
|
Files | |
file | thread.h |
Compatibility header with some thread related helpers. | |
file | thread.c |
Functions | |
pid_t | osmo_gettid (void) |
Wrapper around Linux's gettid() to make it easily accessible on different system versions. | |
Wrapper around Linux's gettid() to make it easily accessible on different system versions.
If the gettid() API cannot be found, it will use the syscall directly if available. If no syscall is found available, then getpid() is called as fallback. See 'man 2 gettid' for further and details information.
References subsys.
Referenced by _gsmtap_raw_output(), and _output_buf().