ruby-timeout-interrupt
Timeout-lib, which interrupts everything, also systemcalls. It uses libc-alarm. (by DenisKnauf)
monotime
A sensible interface to monotonic time in Ruby (by Freaky)
ruby-timeout-interrupt | monotime | |
---|---|---|
1 | 2 | |
1 | 153 | |
- | - | |
0.0 | 7.7 | |
over 2 years ago | 7 months ago | |
Ruby | Ruby | |
GNU Lesser General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruby-timeout-interrupt
Posts with mentions or reviews of ruby-timeout-interrupt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
-
Is sleep precise enough?
You might be interested in using timeout-interrupt which uses the alarm syscall which causes the kernel to send the process a SIGALRM signal after the specified amount of seconds.
monotime
Posts with mentions or reviews of monotime.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
- Monotime: A sensible interface to monotonic time in Ruby
-
Is sleep precise enough?
Monotime's README mentions a pattern for a loop that makes some effort to take into account its own execution time, though it does still drift slightly. I should probably offer a more precise example, like I will here:
What are some alternatives?
When comparing ruby-timeout-interrupt and monotime you can also consider the following projects:
Whenever - Cron jobs in Ruby