harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r449399 - in /incubator/harmony/enhanced/drlvm/trunk/vm: port/src/thread/win/apr_thread_ext.c vmcore/include/version_svn_tag.h
Date Sun, 24 Sep 2006 13:04:57 GMT
Author: geirm
Date: Sun Sep 24 06:04:57 2006
New Revision: 449399

URL: http://svn.apache.org/viewvc?view=rev&rev=449399
Log:
HARMONY-1457

Needed to do a build.bat update before building.  Thanks to
Gregory for the hint.

Windows XP.  C-unit passes, a few smoke, hangs on gc.LOS as
currently is the fashion


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c?view=diff&rev=449399&r1=449398&r2=449399
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c Sun Sep
24 06:04:57 2006
@@ -35,7 +35,7 @@
         return status;
     }
     
-    if (SetThreadPriority(os_thread, (int)convert_priority(priority))) {
+    if (SetThreadPriority(*os_thread, (int)convert_priority(priority))) {
         return APR_SUCCESS;
     } else {
         return apr_get_os_error();
@@ -59,12 +59,12 @@
 //        printf ("detached thread\n");
               return status;
         }
-       //printf("suspending %d\n", os_thread);
-    if(-1!=SuspendThread(os_thread)) {
-         ResumeThread(os_thread);
- //      printf("resuming %d\n", os_thread);
+       //printf("suspending %d\n", *os_thread);
+    if(-1!=SuspendThread(*os_thread)) {
+         ResumeThread(*os_thread);
+ //      printf("resuming %d\n", *os_thread);
         } else {
-  //            printf("fail to suspend %d\n", os_thread);
+  //            printf("fail to suspend %d\n", *os_thread);
         }
   return APR_SUCCESS; 
 }
@@ -91,7 +91,7 @@
     }
                     
     res = GetThreadTimes(
-        hThread,
+        *hThread,
         &creationTime,
         &exitTime,
         &kernelTime,
@@ -131,7 +131,7 @@
     if (status = apr_os_thread_get(&((apr_os_thread_t *)os_thread), thread)!=APR_SUCCESS)
{
         return status;
     }
-    GetThreadTimes(os_thread, &creation_time, 
+    GetThreadTimes(*os_thread, &creation_time, 
         &exit_time, &kernel_time, 
         &user_time);
 
@@ -147,7 +147,7 @@
         return status;
     }
     
-    if (TerminateThread(os_thread, 0)) {
+    if (TerminateThread(*os_thread, 0)) {
         return APR_SUCCESS;
     } else {
         return apr_get_os_error();

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h?view=diff&rev=449399&r1=449398&r2=449399
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h Sun Sep 24
06:04:57 2006
@@ -17,6 +17,6 @@
 #ifndef _VERSION_SVN_TAG_
 #define _VERSION_SVN_TAG_
 
-#define VERSION_SVN_TAG  "449091"
+#define VERSION_SVN_TAG  "449396"
 
 #endif // _VERSION_SVN_TAG_



Mime
View raw message