libosmocore 1.10.0.10-24ad1
Osmocom core library
|
Files | |
file | thread.h |
Compatibility header with some thread related helpers. | |
file | thread.c |
file | thread.c |
Functions | |
pid_t | osmo_gettid (void) |
Wrapper around Linux's gettid() to make it easily accessible on different system versions. More... | |
pid_t osmo_gettid | ( | void | ) |
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.
Referenced by _gsmtap_raw_output(), and _output_buf().