dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.53,1.54 int_table.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.53,1.54 int_table.c,1.55,1.56 lib_thread.c,1.8,1.9
Date: Tue, 01 Apr 2003 17:30:09 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv27659/engine

Modified Files:
        int_proto.h int_table.c lib_thread.c 
Log Message:


Add the "Thread.CanStartThreads" internalcall.


Index: int_proto.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_proto.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -r1.53 -r1.54
*** int_proto.h 31 Mar 2003 05:49:34 -0000      1.53
--- int_proto.h 1 Apr 2003 22:30:07 -0000       1.54
***************
*** 217,220 ****
--- 217,221 ----
  extern ILInt32 _IL_Thread_InternalGetPriority(ILExecThread * _thread, 
ILObject * _this);
  extern void _IL_Thread_InternalSetPriority(ILExecThread * _thread, ILObject * 
_this, ILInt32 _p1);
+ extern ILBool _IL_Thread_CanStartThreads(ILExecThread * _thread);
  
  extern ILNativeInt _IL_WaitEvent_InternalCreateEvent(ILExecThread * _thread, 
ILBool _p1, ILBool _p2);

Index: int_table.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_table.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** int_table.c 31 Mar 2003 05:49:34 -0000      1.55
--- int_table.c 1 Apr 2003 22:30:07 -0000       1.56
***************
*** 1165,1168 ****
--- 1165,1169 ----
        IL_METHOD("InternalGetPriority", 
"(T)vSystem.Threading.ThreadPriority;", _IL_Thread_InternalGetPriority, 
marshal_ipp)
        IL_METHOD("InternalSetPriority", 
"(TvSystem.Threading.ThreadPriority;)V", _IL_Thread_InternalSetPriority, 
marshal_vppi)
+       IL_METHOD("CanStartThreads", "()Z", _IL_Thread_CanStartThreads, 
marshal_bp)
  IL_METHOD_END
  

Index: lib_thread.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_thread.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** lib_thread.c        7 Dec 2002 10:46:55 -0000       1.8
--- lib_thread.c        1 Apr 2003 22:30:07 -0000       1.9
***************
*** 373,376 ****
--- 373,385 ----
  
  /*
+  * internal static bool CanStartThreads();
+  */
+ ILBool _IL_Thread_CanStartThreads(ILExecThread *_thread)
+ {
+       /* TODO */
+       return 0;
+ }
+ 
+ /*
   * public static sbyte VolatileRead(ref sbyte address);
   */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]