Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timers #2

Merged
merged 3 commits into from
Nov 5, 2014
Merged

Add timers #2

merged 3 commits into from
Nov 5, 2014

Conversation

Siprj
Copy link
Contributor

@Siprj Siprj commented Nov 5, 2014

No description provided.

Siprj added 3 commits November 5, 2014 19:33
Present new implementation of timer which uses event state machine for
invoking callbacks. Advantage of this method is easy and fast acces to timers
 from "user space".
Timers are powered by timerfd timers which uses kernel directly and at the
same time thes timers use file descriptor to indicate timeout. This 
implementation is exactly what the event machine need.
C standart c11 (-std=c11) setts  _POSIX_C_SOURC to wrong value.
trskop added a commit that referenced this pull request Nov 5, 2014
Timers implementation based on Linux specific timerfd
@trskop trskop merged commit b24b989 into trskop:master Nov 5, 2014
@trskop
Copy link
Owner

trskop commented Nov 5, 2014

Jan, I'll make some changes to it. Most of it, probably, will be backwards compatible, but I'm afraid that I just can't live with event_timer_creat(). Don't get me wrong, I like short and to the point names, but that missing "e" just bugs me. So don't be mad at me. :-)

@Siprj
Copy link
Contributor Author

Siprj commented Nov 5, 2014

Oh.. sorry, I haven't read it after my changes and that's the result :-D

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