Skip to content

Support for non-blocking and read() on timerfd#8

Closed
comio wants to merge 2 commits intomlichvar:masterfrom
comio:master
Closed

Support for non-blocking and read() on timerfd#8
comio wants to merge 2 commits intomlichvar:masterfrom
comio:master

Conversation

@comio
Copy link
Contributor

@comio comio commented Mar 30, 2023

Dear @mlichvar ,

This PR add the following feature:

  • TFD_NONBLOCK flag on timerfd creation (relaxing the assert inside timerfd_create)
  • Support for read() call on timerfd, reporting the expirations number.

These changes are required in order to pass my changes on LinuxPTP (See richardcochran/linuxptp#12).

Thanks a lot and ciao!

luigi

@comio comio force-pushed the master branch 2 times, most recently from 7e7c67d to 32fe985 Compare April 5, 2023 07:05
@mlichvar
Copy link
Owner

mlichvar commented Apr 5, 2023

Applied with some cosmetic changes. Thanks!

@mlichvar mlichvar closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants