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

Posted by Chirag Mistry (ruby_chirag)
on 2008-03-06 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 2008-03-06 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.