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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Thread.cs, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Thread.cs, 1.18, 1.19
Date: Sat, 23 Aug 2003 06:36:16 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading
In directory subversions:/tmp/cvs-serv6879/runtime/System/Threading

Modified Files:
        Thread.cs 
Log Message:


Add the remaining internalcalls to the "Thread" class.


Index: Thread.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/Thread.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** Thread.cs   23 Aug 2003 09:44:19 -0000      1.18
--- Thread.cs   23 Aug 2003 10:36:13 -0000      1.19
***************
*** 417,432 ****
  
        // Interrupt this thread.
!       [TODO]
!       public void Interrupt()
!                       {
!                               // TODO
!                       }
  
        // Resume execution of this thread.
!       [TODO]
!       public void Resume()
!                       {
!                               // TODO
!                       }
  
        // Set the compressed stack for a thread.
--- 417,426 ----
  
        // Interrupt this thread.
!       [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public void Interrupt();
  
        // Resume execution of this thread.
!       [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public void Resume();
  
        // Set the compressed stack for a thread.
***************
*** 446,461 ****
  
        // Perform a spin wait for a given number of iterations.
!       [TODO]
!       public static void SpinWait(int iterations)
!                       {
!                               // TODO
!                       }
  
        // Suspend execution of this thread.
!       [TODO]
!       public void Suspend()
!                       {
!                               // TODO
!                       }
  
        // Get or set this thread's apartment state.
--- 440,449 ----
  
        // Perform a spin wait for a given number of iterations.
!       [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public static void SpinWait(int iterations);
  
        // Suspend execution of this thread.
!       [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public void Suspend();
  
        // Get or set this thread's apartment state.





reply via email to

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