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

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

[Dotgnu-pnet-commits] CVS: pnet/include il_thread.h,1.11,1.12 il_engine


From: Thong Nguyen <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_thread.h,1.11,1.12 il_engine.h,1.38,1.39
Date: Sat, 05 Jul 2003 18:51:35 -0400

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv12446/include

Modified Files:
        il_thread.h il_engine.h 
Log Message:
Threading improvements.  Better background thread management.


Index: il_thread.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_thread.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** il_thread.h 26 Jun 2003 03:39:25 -0000      1.11
--- il_thread.h 5 Jul 2003 22:51:32 -0000       1.12
***************
*** 61,65 ****
   *    Registers an ILThread and allow it to execute managed code. 
   */
! ILExecThread *ILThreadRegisterForManagedExecution(ILExecProcess *process, 
ILThread *thread, int isUserThread);
  
  /*
--- 61,65 ----
   *    Registers an ILThread and allow it to execute managed code. 
   */
! ILExecThread *ILThreadRegisterForManagedExecution(ILExecProcess *process, 
ILThread *thread);
  
  /*
***************
*** 76,79 ****
--- 76,85 ----
  
  /*
+  * Cleans up the threading subsystem.  Safe to call multiple times.  The 
thread
+  * subsystem can't be reinitialized after it has been deinitialized.
+  */
+ void ILThreadDeinit(void);
+ 
+ /*
   * Create a new thread, initially in the "unstarted" state.
   * When the thread is started, it will call "startFunc" with
***************
*** 229,232 ****
--- 235,244 ----
   */
  int ILThreadSleep(ILUInt32 ms);
+ 
+ /*
+  *    Wait for a specified amount of time (in ms) for a all foreground threads
+  * (except the main thread) to finish.  A timeout of -1 means infinite.
+  */
+ void ILThreadWaitForForegroundThreads(int timeout);
  
  /*

Index: il_engine.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_engine.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** il_engine.h 27 Jun 2003 00:18:27 -0000      1.38
--- il_engine.h 5 Jul 2003 22:51:32 -0000       1.39
***************
*** 188,196 ****
  
  /*
-  *    Wait for all user threads in a process to finish.
-  */
- void ILExecProcessWaitForUserThreads(ILExecProcess *process);
- 
- /*
   * Destroy a process and all threads associated with it.
   */
--- 188,191 ----





reply via email to

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