README in SystemTimer-1.2 vs README in SystemTimer-1.2.1
- old
+ new
@@ -12,11 +12,11 @@
* [http://davidvollbracht.com/2008/6/2/30-days-of-teach-day-1-systemtimer](http://davidvollbracht.com/2008/6/2/30-days-of-teach-day-1-systemtimer)
Usage
=====
- require 'systemtimer'
+ require 'system_timer'
SystemTimer.timeout_after(5) do
# Something that should be interrupted if it takes too much time...
# ... even if blocked on a system call!
@@ -45,11 +45,11 @@
-------------------------
You can also use a custom timeout exception to be raised on timeouts (to
avoid interference with other libraries using `Timeout::Error` -- e.g. `Net::HTTP`)
- require 'systemtimer'
+ require 'system_timer'
begin
SystemTimer.timeout_after(5, MyCustomTimeoutException) do
@@ -71,20 +71,19 @@
a convenience shell wrapping a simple call to timeout.rb under the cover.
Install
=======
- sudo gem install systemtimer
+ sudo gem install SystemTimer
-
Authors
=======
* David Vollbracht <http://davidvollbracht.com>
* Philippe Hanrigou <http://ph7spot.com>
-Contributor
-===========
+Contributors
+============
* Dmytro Shteflyuk <http://kpumuk.info/> :
- Changed from using Mutex to Monitor. Evidently Mutex causes thread
join errors when Ruby is compiled with -disable-pthreads
<http://github.com/kpumuk/system-micro-timer/commit/fe28f4dcf7d4126e53b7c642c5ec35fe8bc1e081>