What is Mutex Object and why it is used?
Answer / bond
In computer programming, a mutex (mutual exclusion object)
is a program object that is created so that multiple program
thread can take turns sharing the same resource, such as
access to a file. Typically, when a program is started, it
creates a mutex for a given resource at the beginning by
requesting it from the system and the system returns a
unique name or ID for it. After that, any thread needing the
resource must use the mutex to lock the resource from other
threads while it is using the resource. If the mutex is
already locked, a thread needing the resource is typically
queued by the system and then given control when the mutex
becomes unlocked (when once more, the mutex is locked during
the new thread's use of the resource).
| Is This Answer Correct ? | 12 Yes | 1 No |
Is buddha dll a virus?
Where are temporary files stored?
What is Kerberos? Which version is currently used by Windows? How does Kerberos work?
What is where exe?
How do I change which app opens a file?
How do I restore my start menu?
How do I check my hard drive hard drive?
How do I remove programs from the start menu?
What is the difference between windows 2000 and windows 2003 server features? what is ASR? What are the roles of FSMO? Which are Forest level roles and Domain level roles? What are the steps taken while moving the FSMO roles? Types of RAID and brief description ? Which are all fault tolerant raids? What is the actual disk space utilised in RAID5 and RAID1? What is the diff btwn Mirroring and Duplexing? What are the different types of partitions in Active Directory? What is the database file name created when ADS is installed and where is it stored? What are the types of Sites available?
what ate the windows vista interview question?
Should I delete temporary files?
What is the difference between the DVD-R and DVD+R formats?