Thread#wakeup fails when sleep is called with a parameter
---------------------------------------------------------

                 Key: JRUBY-2761
                 URL: http://jira.codehaus.org/browse/JRUBY-2761
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
            Reporter: Hez Ronningen
            Priority: Minor


Code in the thread sleep loops until the passed time has gone by, which means 
it you call wakeup on that thread it immediately goes back to sleep after 
checking passed time.

Offending code:
http://pastie.org/229202

Original commit:
"Fix the sleep implementation, making timeout work better"
https://svn.codehaus.org/jruby/trunk/[EMAIL PROTECTED]

Compared against MRI this is inconsistent, wakeup works under both 
circumstances in MRI (Thread#sleep with param and with out)

Cheers

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to