コード例 #1
0
 /// <summary>
 /// Removes a thread from the environment's list of threads.
 /// </summary>
 internal static void removeThread(NSFThread thread)
 {
     lock (environmentMutex)
     {
         threads.Remove(thread);
     }
 }
コード例 #2
0
 /// <summary>
 /// Adds a thread to the environment's list of threads.
 /// </summary>
 internal static void addThread(NSFThread thread)
 {
     lock (environmentMutex)
     {
         threads.Add(thread);
     }
 }