PDA

View Full Version : communication between threads


alaios
07-15-2005, 08:21 AM
Hi.. I have created three threads for implementing different tasks... I want to exchange some data between them but i am really confused what should i use and what not
I can use pipes , ipc, shared memory, sockets but what is the best for my problem?

Unit
07-15-2005, 09:14 PM
shared memory with suitable synchronization(events, mutexes) is best for sharing data between threads.