Re: trying to clarify the variety of semaphores and mutexes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 and, finally, there is the newer actual "mutex", described in
Documentation/mutex-design.txt, which has simpler semantics and some
restrictions that semaphores don't.  is this about right so far?

<snip>

 also, it's unfortunate that the semaphore.h files declare binary
semaphores using macros that contain the word "mutex" since that just
*begs* to be confused with actual mutexes.


Could some one explain me what are the differences between a binary
semaphore and an "actual" mutex? What are some of the constraints that
asn actual mutex doesn't have?

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux