13 writes to busy
System.Drawing (13)
commonui\System\Drawing\BufferedGraphicsContext.cs (13)
146int oldBusy = Interlocked.CompareExchange(ref busy, BUFFER_BUSY_PAINTING, BUFFER_FREE); 183this.busy = BUFFER_FREE; // free the buffer so it can be disposed. 377busy = BUFFER_BUSY_DISPOSING; 379busy = BUFFER_BUSY_PAINTING; 389busy = BUFFER_BUSY_DISPOSING; 391busy = BUFFER_BUSY_PAINTING; 564int oldBusy = Interlocked.CompareExchange(ref busy, BUFFER_BUSY_DISPOSING, BUFFER_FREE); 599this.busy = BUFFER_FREE; 628int oldBusy = Interlocked.CompareExchange(ref busy, BUFFER_BUSY_DISPOSING, BUFFER_FREE); 635this.busy = BUFFER_FREE; 654this.busy = BUFFER_BUSY_DISPOSING; 658this.busy = BUFFER_BUSY_DISPOSING; 662this.busy = BUFFER_FREE;