Anyone knows what a spinlock is, in OS context?
Function KxWaitForLockOwnerShip from ntoskrnl.dll is bottlenecking four of my cores while function KxWaitForSpinlockAndAcquire is waiting on the four other cores for 65ms. I don't know what the hell it is waiting for but it causes audio buzzes on my system.
Thanks.
Looks like it's waiting for lock ownership.
>>60377274
no shit Sherlock
>>60377107
Spinlock is a "piece" of function in another thread that constantly checks if variable used by another thread was modified.
compared to properly implemented semaphores, system doesn't perform context switch if conditions aren't met
that is, it uses whole time interval just to check state.
at least that's how i rember it from my OS classes
botnet
>>60377439
Thanks
>>60377769
Maybe
What program is that? It looks useful.
while(condition)
spin(); // effective no-op