Ejemplo n.º 1
0
 internal virtual void MarkTicketFailed(SegmentFlushTicket ticket)
 {
     lock (this)
     {
         // to free the queue we mark tickets as failed just to clean up the queue.
         ticket.SetFailed();
     }
 }
Ejemplo n.º 2
0
 internal virtual void MarkTicketFailed(SegmentFlushTicket ticket)
 {
     UninterruptableMonitor.Enter(this);
     try
     {
         // to free the queue we mark tickets as failed just to clean up the queue.
         ticket.SetFailed();
     }
     finally
     {
         UninterruptableMonitor.Exit(this);
     }
 }
 internal virtual void MarkTicketFailed(SegmentFlushTicket ticket)
 {
     lock (this)
     {
         // to free the queue we mark tickets as failed just to clean up the queue.
         ticket.SetFailed();
     }
 }