support: abstract some system functions

Make a new API to hide some the implementation of eventfd, timerfd
and signalfd along with clock and read/write/ioctl/close functions.
We would like to have plugins use the abstractions so that we
can switch them to something else when needed.
This commit is contained in:
Wim Taymans 2019-06-04 17:07:34 +02:00
parent 98602f0343
commit 81c7dd4433
12 changed files with 492 additions and 50 deletions

View file

@ -1,7 +1,8 @@
spa_support_sources = ['cpu.c',
'logger.c',
'loop.c',
'plugin.c']
'plugin.c',
'system.c']
spa_support_lib = shared_library('spa-support',
spa_support_sources,