harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r639354 - /harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h
Date Thu, 20 Mar 2008 16:54:21 GMT
Author: gshimansky
Date: Thu Mar 20 09:54:20 2008
New Revision: 639354

URL: http://svn.apache.org/viewvc?rev=639354&view=rev
Log:
Applied patch from HARMONY-5623
[drlvm][thread] Fix warnings from the offsetof() macro


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h?rev=639354&r1=639353&r2=639354&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h Thu Mar 20 09:54:20 2008
@@ -125,17 +125,12 @@
 struct VM_thread
 {
     /**
-     * Native thread which is associated with VM_thread
+     * Native thread which is associated with <code>VM_thread</code>
+     * The fields of <code>HyThread</code> sub-structure should not be used in
VM directly
+     * An address of <code>hy_thread</code> field should be used instead
+     * as an argument for <code>hythread*</code> functions.
      */
-#ifdef __cplusplus
-private:
-#endif // __cplusplus
-
     struct HyThread hy_thread;
-
-#ifdef __cplusplus
-public:
-#endif // __cplusplus
 
     /**
      * Thread reference object to corresponding java.lang.ThreadWeakRef instance



Mime
View raw message