Ruby Forum Ruby-core > Defect for the signal usage of SIGVTALRM in Ruby 1.9 implementation

Posted by Chirag Mistry (ruby_chirag)
on 06.03.2008 10:45
(Received via mailing list)
Hi All

Given below are the defect descriptions for the signal usage of 
SIGVTALRM in
Ruby 1.9 implementation.

Defect Description:
In file trunk/thread_pthread.c, at line no: 153
In the "Init_native_thread" function, posix_signal function is called 
with
SIGVTALRM value setting an empty function as signal handler. The
"Init_native_thread" function is indirectly called from ruby_init(). As 
per
our understanding, SIGVTALRM is no longer a reserved signal in Ruby
1.9implementation and therefore no signal handler should be installed
for it.

Regards
Chirag
Posted by Yukihiro Matsumoto (Guest)
on 06.03.2008 13:11
(Received via mailing list)
Hi,

In message "Re: Defect for the signal usage of SIGVTALRM in Ruby 1.9 
implementation"
    on Thu, 6 Mar 2008 18:43:16 +0900, "Chirag Mistry" 
<chirag80bece@gmail.com> writes:

|As per
|our understanding, SIGVTALRM is no longer a reserved signal in Ruby
|1.9implementation and therefore no signal handler should be installed
|for it.

1.9 still uses SIGVTALRM for context switching.

              matz.