Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a pushlock?

Pushlocks are used internally by windows as synchronization primitives for some of its operations, specifically as part of the memory manager.

What exactly is a pushlock? How is it different from a spinlock?

like image 604
Jorge Córdoba Avatar asked Oct 14 '22 14:10

Jorge Córdoba


1 Answers

Pushlocks, together with mutexes, synchronization events, semaphores and executive resources are WAIT-based.

In the other hand, spinlocks, queue spinlocks are, etc. are, well... of "spin" type, implemented by busy-waiting (spinning).

The choice of a particular synchronization primitive is discussed in depth in this article.

like image 99
istepaniuk Avatar answered Oct 18 '22 14:10

istepaniuk