harmony-commits mailing list archives

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

I'm OK with committing this code.  This is straight forward OS API wrapper code. (APR on top
of Win).  It looks like APR is fairly close to POSIX API and thus no need for APR on top of
Linux.  Is this correct?

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