Skip to content

Commit 83589ea

Browse files
committed
* eval.c (rb_eval_cmd): just return if no exceptions.
[ruby-dev:30820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 0b66d35 commit 83589ea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
16
Wed May 30 04:18:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* eval.c (rb_eval_cmd): just return if no exceptions.

eval.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11781,6 +11781,11 @@ thread_timer(dummy)
1178111781
#define test_cancel() /* void */
1178211782
#endif
1178311783

11784+
sigset_t all_signals;
11785+
11786+
sigfillset(&all_signals);
11787+
pthread_sigmask(SIG_BLOCK, &all_signals, 0);
11788+
1178411789
for (;;) {
1178511790
#ifdef HAVE_NANOSLEEP
1178611791
struct timespec req, rem;

0 commit comments

Comments
 (0)