示例#1
0
 /// <summary>
 /// Informs the control that a thread is exiting a block of code or has finished consuming a resource.
 /// </summary>
 /// <param name="exitedSuccessfully">
 /// A value indicating whether or not the exit operation was successful. The initial value is <see langword="false" />.
 /// </param>
 /// <exception cref="SynchronizationLockException">
 /// The current thread does not own the lock.
 /// </exception>
 protected sealed override void Exit(ref Boolean exitedSuccessfully)
 {
     Spin.Exit();
     exitedSuccessfully = true;
 }