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