[MacRuby] #1472: Abort occurs when call Thread#{priority, priority=} with exited thread.
MacRuby
ruby-noreply at macosforge.org
Tue Feb 28 18:34:47 PST 2012
#1472: Abort occurs when call Thread#{priority, priority=} with exited thread.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Test Script:
{{{
t = Thread.new { Thread.exit }
sleep 0.1
p t.status
p t.priority
p t.priority = 42
}}}
Result:
{{{
$ macruby t.rb
false
pthread command `pthread_getschedparam(GetThreadPtr(thread)->thread, NULL,
¶m)' failed: No such process (3)
zsh: abort macruby t.rb
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1472>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list