Difference between mutex and binary semaphore, C/C++ Programming

Semaphore is used to synchronize processes. whereas mutex is used to give synchronization among threads running in the similar process.

 

 

Posted Date: 4/9/2013 1:10:55 AM | Location : United States







Related Discussions:- Difference between mutex and binary semaphore, Assignment Help, Ask Question on Difference between mutex and binary semaphore, Get Answer, Expert's Help, Difference between mutex and binary semaphore Discussions

Write discussion on Difference between mutex and binary semaphore
Your posts are moderated
Related Questions
Convert coordinate: class rect{                 private :                 float  x,y;                   public :                 void  input()

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".

Memory Management Operator In C malloc( ), calloc( ), realloc( ), and free( ) are used to mange dynamic memory.  In addition to these function C++ have derived two unary ope

C program to define power of a function: Write a program to use power of a function. void main() { int x,y,po=1,i,j; clrscr();   printf("Give x,y\n"); sca

#question.Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two po

The size of () operator This is a pseudo-operator given by the language, which returns the number of bytes taken up by a variable or data type. The value returned by this opera


The voltage at the terminals of a battery is 52V when no load is linked and 48.8V when a load taking 80A is connected. Find the internal resistance of the battery. What wou

Define the Meaning of Call by reference? In "call-by- reference", as an alternative of passing the value of a variable, the location number (or the address) of the variable is

Example for external storage class - computer programming? extern double sin (double); In a function prototype, for the sin() function its function definition ~ we can write