function · Added in 3.13Linux >= 2.6.27 with glibc >= 2.8
timerfd_create(clockid, /, *, flags=0)
Create and return a timer file descriptor.
clockid
A valid clock ID constant as timer file descriptor.
time.CLOCK_REALTIME
time.CLOCK_MONOTONIC
time.CLOCK_BOOTTIME
flags
0 or a bit mask of os.TFD_NONBLOCK or os.TFD_CLOEXEC.
os.TFD_NONBLOCK
If *TFD_NONBLOCK* is set as a flag, read doesn't blocks.
If *TFD_NONBLOCK* is not set as a flag, read block until the timer fires.
os.TFD_CLOEXEC
If *TFD_CLOEXEC* is set as a flag, enable the close-on-exec flag