Commit graph

9 commits

Author SHA1 Message Date
Denis Knauf
3542837d7f small minor warnings fixed (unused vars, ...). comments. 2021-12-12 18:18:33 +01:00
Denis Knauf
9fc25c3015 Actiual versions of ffi-libc provide FFI::LibC::alarm. ffi-libc<0.1.1 has a bug with sys_errlist, so 0.1.1 required. 2021-12-12 16:09:49 +01:00
Denis Knauf
9f993da845 timeout(0) -> never timeout (compatible to Timeout) 2013-03-14 16:26:07 +01:00
Denis Knauf
ae0409111a :doc:. alarm_trap will call raise_if_sb_timed_out and setup. raise_if_sb_timed_out is the old alarm_trap (but alarm_trap should be used like before). setup recognize time outs lesser than one second now. 2013-03-07 14:47:48 +01:00
Denis Knauf
6f57bb4223 Classes
=======

TimeoutInterruptSingleton created for helper methods like setup and so on.

TimeoutInterrupt#timeout and TimeoutInterrupt.timeout are stubs for calling timeout of singleton-class.

Scopeable
=========

`TimeoutInterrupt.timeout` should be scopeable now.
`TimeoutInterrupt.timeout` without args will check timeouts and will raise the next timed out timeout,
needed for scopes and if many time outs at the same time occurs.
2013-03-07 12:30:07 +01:00
Denis Knauf
aafc641f35 Version bump to 0.1.1 2013-03-06 15:09:39 +01:00
Denis Knauf
9f3eca6171 license, tests, lib. 2013-03-06 11:58:38 +01:00
Denis Knauf
c3dbaa7b71 license, tests, lib. 2013-03-06 11:58:33 +01:00
Denis Knauf
6ebfbf64f9 Initial commit to ruby-timeout-interrupt. 2013-03-06 10:18:40 +01:00