What is a Mutex?

  • Thread starter Thread starter Guest
  • Start date Start date
Ping said:
Hello, can anyone tell me what's a mutex?

Ping Laxon

Mutual Exclusion Semaphore - a software device used by a set of
programs (or threads) to share a resource, one program at a time.
To use the resource, the program first grabs the mutex, then uses
the resource, then releases the mutex. Should another program
want the resource, it will be unable to grab the mutex and will
wait until the first program releases.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top