зеркало из https://github.com/github/ruby.git
* signal.c (sighandler): need to re-install sighandler on some
platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f35a641adb
Коммит
3207cd3897
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Feb 23 15:58:20 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* signal.c (sighandler): need to re-install sighandler on some
|
||||||
|
platforms.
|
||||||
|
|
||||||
Fri Feb 23 15:05:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
Fri Feb 23 15:05:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/win32.c (set_pioinfo_extra): simplified.
|
* win32/win32.c (set_pioinfo_extra): simplified.
|
||||||
|
|
4
signal.c
4
signal.c
|
@ -395,6 +395,10 @@ sighandler(int sig)
|
||||||
rb_vm_t *vm = GET_VM(); /* fix me for Multi-VM */
|
rb_vm_t *vm = GET_VM(); /* fix me for Multi-VM */
|
||||||
ATOMIC_INC(vm->signal_buff[sig]);
|
ATOMIC_INC(vm->signal_buff[sig]);
|
||||||
ATOMIC_INC(vm->bufferd_signal_size);
|
ATOMIC_INC(vm->bufferd_signal_size);
|
||||||
|
|
||||||
|
#if !defined(BSD_SIGNAL) && !defined(POSIX_SIGNAL)
|
||||||
|
ruby_signal(sig, sighandler);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef HAVE_SIGPROCMASK
|
# ifdef HAVE_SIGPROCMASK
|
||||||
|
|
Загрузка…
Ссылка в новой задаче