SystemTimer 1.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +7 -0
- data/ext/system_timer/system_timer_native.c +2 -2
- metadata +3 -3
data/ChangeLog
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
=== 1.1.1 / 2009-03-10
|
|
2
|
+
|
|
3
|
+
* Fixing set_itimerval_with_minimum_1s_interval method signature
|
|
4
|
+
which was incorrect and resulted in a segfault on 64 bits
|
|
5
|
+
platform (int versus VALUE). Thanks to Mike Perham for
|
|
6
|
+
investigating the problem and sending the patch!
|
|
7
|
+
|
|
1
8
|
=== 1.1.0 / 2008-11-05
|
|
2
9
|
|
|
3
10
|
* New implementation supporting concurrent timers, i.e. :
|
|
@@ -25,7 +25,7 @@ static void install_ruby_sigalrm_handler(VALUE);
|
|
|
25
25
|
static void restore_original_ruby_sigalrm_handler(VALUE);
|
|
26
26
|
static void restore_original_sigalrm_mask_when_blocked();
|
|
27
27
|
static void restore_original_timer_interval();
|
|
28
|
-
static void set_itimerval_with_minimum_1s_interval(struct itimerval *,
|
|
28
|
+
static void set_itimerval_with_minimum_1s_interval(struct itimerval *, VALUE);
|
|
29
29
|
static void set_itimerval(struct itimerval *, int);
|
|
30
30
|
static void restore_sigalrm_mask(sigset_t *previous_mask);
|
|
31
31
|
static void log_debug(char*, ...);
|
|
@@ -262,7 +262,7 @@ static void init_sigalarm_mask()
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
static void set_itimerval_with_minimum_1s_interval(struct itimerval *value,
|
|
265
|
-
|
|
265
|
+
VALUE seconds) {
|
|
266
266
|
|
|
267
267
|
int sanitized_second_interval;
|
|
268
268
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: SystemTimer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors: []
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ autorequire: system_timer
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2009-03-10 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
64
64
|
requirements: []
|
|
65
65
|
|
|
66
66
|
rubyforge_project:
|
|
67
|
-
rubygems_version: 1.
|
|
67
|
+
rubygems_version: 1.3.1
|
|
68
68
|
signing_key:
|
|
69
69
|
specification_version: 2
|
|
70
70
|
summary: Set a Timeout based on signals, which are more reliable than Timeout. Timeout is based on green threads.
|