harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1457) [DRLVM] Patch provided for APR threads for Windows and VM code is adopted
Date Sat, 23 Sep 2006 12:40:24 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1457?page=comments#action_12437073 ] 
            
Geir Magnusson Jr commented on HARMONY-1457:
--------------------------------------------

Sorry - after a clean build and clean test run, applying this patch results in the first thread
test failing in the c-unit tests : 

     [echo] ## Executing C unit test: test_java_attrs
     [exec] Result: -1073741819
     [echo] INFO: TEST test_jthread_get_priority start
     [echo] ## TEST FAILED

Either the test is broken or the patch is. 


> [DRLVM] Patch provided for APR threads for Windows and VM code is adopted
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-1457
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1457
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Ilya Berezhniuk
>         Assigned To: Geir Magnusson Jr
>         Attachments: apr-threads.patch
>
>
> There was a bug in APR threads implementation for Windows.
> apr_os_thread_get and apr_os_thread_put functions perform implicit cast from HANDLE*
to HANDLE and visa versa.
> It was possible because HANDLE is void*, but it resulted in invalid OS handle.
> It prevented apr_thread_yield_other and apr_thread_cancel functions to work correctly.
> Patch provided for APR threadproc/win32/thread.c file. PORT sources for Windows were
adopted.

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

        

Mime
View raw message