We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b66d35 commit 83589eaCopy full SHA for 83589ea
ChangeLog
@@ -1,3 +1,8 @@
1
+Wed May 30 04:29:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
2
+
3
+ * eval.c (thread_timer): timer thread should not receive any
4
+ signals. submitted by Sylvain Joyeux. [ruby-core:08546]
5
6
Wed May 30 04:18:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
7
8
* eval.c (rb_eval_cmd): just return if no exceptions.
eval.c
@@ -11781,6 +11781,11 @@ thread_timer(dummy)
11781
#define test_cancel() /* void */
11782
#endif
11783
11784
+ sigset_t all_signals;
11785
11786
+ sigfillset(&all_signals);
11787
+ pthread_sigmask(SIG_BLOCK, &all_signals, 0);
11788
11789
for (;;) {
11790
#ifdef HAVE_NANOSLEEP
11791
struct timespec req, rem;
0 commit comments