Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doubts about the shared memory implementation.

Status
Not open for further replies.

isaisa

Programmer
May 14, 2002
97
IN
Hi All,
I am not very clear about the implementation .... My doubt is when to use semephores , mutexes, critical section , pipes while implementing interprocess communicartion ????

can someone explain or give me link which provide this information ???

thanks in advance ....

sanjay
 
semaphores and mutexes are used for interprocess synchronization. Semaphores are only for synchronization but mutexes are for resource counting + synchronization. pipes and sockets can be used for interprocess communication. There also could be used messages and files.
Critical section is the simpliest object for synchronization. It is used to synchronize threads inside a process. For more information you cak look in msdn.microsoft.com and a google search will also be very helpful.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top