harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (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 23:33:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1457?page=comments#action_12437168 ] 
Gregory Shimansky commented on HARMONY-1457:

Hmm I tried to reproduce the problem you've encountered... I cleaned everything, did build.bat
update (maybe you didn't do it?)and built VM. The c-unit tests worked just fine to me. The
smoke gc.LOS test still hangs as usual.

Ilya in his patch added a new file (albeilt with DOS line endings) to directory build/patches.
These patches are copied to the corresponding lib directories when VM is built to cover the
bugs in APR (and other?) library. So after applying this patch it is critical to do build.bat
update. The same can be said about HARMONY-1519.

> [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

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


View raw message