主页 > 词条 > 哈萨克语(KK) > өзара құлыптау
өзара құлыптау
Threads use a spin lock to test a lock variable over and over until some other task releases the lock. That is, the waiting thread spins on the lock until the lock is cleared. Then, the waiting thread sets the lock while inside the critical region. After work in the critical region is complete, the thread clears the spin lock so another thread can enter the critical region. The difference between a spin lock and a mutex is that an attempt to get a mutex held by someone else will block and release the LWP; a spin lock does not release the LWP. See also mutex lock.
0
0
完善词条
您想要说什么?
新闻词条
精选词条
eBay Mobile
eBay's new search platform for mobile devices. There has been rumors that eBay hopes to replace Google as the first place that people look on their ...