You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2008/03/20 17:54:21 UTC
svn commit: r639354 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/include/thread_manager.h
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