Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES???

Answer Posted / test

semaphores helps is a varible which is used to protect the shared data .hence avoiding the coruption of data by the threads acting simultaniously..

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does %p mean c?

1123


Why should I use standard library functions instead of writing my own?

1325


What are linker error?

1152


If errno contains a nonzero number, is there an error?

1440


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1656


Explain what is the concatenation operator?

1239


Does c have class?

1181


What does stand for?

1145


Write program to remove duplicate in an array?

1135


How does sizeof know array size?

1174


Should I learn data structures in c or python?

1074


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1351


Is null equal to 0 in sql?

1196


How to declare pointer variables?

1320


Explain the difference between null pointer and void pointer.

1137