diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-17 17:46:02 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-17 18:24:17 +0100 |
commit | 88e4058fc4ab8c4215327154f4c32f0652bb3e6b (patch) | |
tree | 3354bebf50d0ce71259d6a9b3ab2fb119b316d5a /src/timer.c | |
parent | ca770ae77e38b6a634282e19d7b6e16a28db39f3 (diff) |
Introduce osmo_gettid() API
This API wraps conventional gettid() linux-specific API, which even in
Linux itself is sometimes not properly supported/announced.
This API also allows future porting to other platforms if needed, and so
far falls back to getpid() if no gettid(9 can be found.
Code ported from osmo-trx.git, see commit 7a07de1efd4eb7cc11c33d3ad25cb2df70aa1ef1.
Related: OS#5027
Change-Id: Id7534beeb22fcd50813dab76dd68818e2ff87ec2
Diffstat (limited to 'src/timer.c')
0 files changed, 0 insertions, 0 deletions