Encyclopedia > Spinlock

  Article Content

Spinlock

In computer science, a spinlock is a lock where the thread simply waits ("spins") until the lock becomes available. Spinlocks are very efficient if threads are only likely be blocked for a short period of time, as they avoid the overhead of operating system process re-scheduling. They are wasteful if the lock is held for a long period of time.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
U.S. presidential election, 1804

... Jefferson (W) 162 Democratic-Republican George Clinton (162) Charles C. Pinckney[?] 14 Federalist Rufus King (14) Other elections: 1792, 1796, 1800, 1804, ...

 
 
 
This page was created in 47.3 ms