コード例 #1
0
 /// <summary>
 /// Creates an event thread.
 /// </summary>
 /// <param name="name">The name of the thread.</param>
 /// <param name="priority">The priority of the thread.</param>
 public NSFEventThread(NSFString name, int priority)
     : base(name, priority)
 {
     signal = NSFOSSignal.create(Name);
     startThread();
 }
コード例 #2
0
 /// <summary>
 /// Creates an operating system timer.
 /// </summary>
 /// <param name="name">The name of the timer.</param>
 public NSFOSTimer(NSFString name)
     : base(name)
 {
     timerSignal = NSFOSSignal.create(name);
 }