Home > Terms > English, UK (UE) > Spin lock

Spin lock

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.

This is auto-generated content. You can help to improve it.
0
  • Part of Speech: noun
  • Synonym(s):
  • Blossary:
  • Industry/Domain: Computer
  • Category: Workstations
  • Company: Sun
  • Product:
  • Acronym-Abbreviation:
Collect to Blossary

Member comments

You have to log in to post to discussions.

Terms in the News

Featured Terms

Harry8L
  • 0

    Terms

  • 0

    Blossaries

  • 1

    Followers

Industry/Domain: Fashion Category: Brands & labels

Victoria's Secret

A US retailer of premium quality women's fashion wear, lingerie and beauty products. Victoria's Secret is known for its annual fashion runway show, ...

Contributor

Featured blossaries

Nokia's

Category: Technology   1 1 Terms

semi-automatic espresso machine

Category: Food   1 3 Terms