summaryrefslogtreecommitdiffstats
path: root/src/isdnhdlc.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-03 16:13:39 +0100
committerHarald Welte <laforge@gnumonks.org>2018-05-10 10:33:54 +0200
commitea4d8939af7204bc6ca76144354ef4d70189eaa3 (patch)
tree9e9259f5a73620508ac4e2dedcff7e6cf35482fc /src/isdnhdlc.c
parentb82a407a4924f51844c01e1627c3bb01db210c0f (diff)
Add osmo_timerfd_* functions for osmo_fd-wrapped timerfd
Linux offers file descriptor based periodic (interval) timers, which can achieve a higher precision than our userspace based timers and which can be slave'd to CLOCK_MONOTINIC or other clock sources. Let's add some code for osmo_fd wrapped versions that integrate well with our select() abstraction. The code has been used in osmo-bts-trx since June 2017 (change-id I51b19adde14ebb7ef3bb863d45e06243c323e22e), and I'm just renaming and moving it to libosmocore here. After a merge, the osmo-bts implementations can be removed in favor if this one. Change-Id: Ibeffba7c997252c003723bcd5d14122c4ded2fe7
Diffstat (limited to 'src/isdnhdlc.c')
0 files changed, 0 insertions, 0 deletions