[interprocess] shared memory, condtions, deadlock
4 Aug
2010
4 Aug
'10
1:26 p.m.
Hi all, I'm trying to use the shared memory functionality of the boost interprocess library for implementing a client and a server like process, where the server calculates something for the client. I use condition variables for the process synchronization. The implementation works initially, but I am getting deadlocks, now. I appended a pseudo code example of my implementation. One instance of the SharedData class is hold in shared memory. On deadlock, both processes are hanging in the wait() functions. What am I doing wrong? Many thanks for any hint. Regards Kai
5212
Age (days ago)
5212
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kai Benndorf