Quantcast
Channel: Cross-Process Mutex Read/Write Locking - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Mike for Cross-Process Mutex Read/Write Locking

I have used events for this before. Use 2 named auto reset events. 1 data ready event and one buffer ready event. Writer waits for buffer ready, writes data and sets the data ready event. Reader waits...

View Article



Answer by Pavan Chandaka for Cross-Process Mutex Read/Write Locking

Conditional variables can be used with in the process, but not across the processes.Try NamedPipe with PIPE_ACCESS_DUPLEX as open mode. So that you have communication options from both...

View Article

Cross-Process Mutex Read/Write Locking

I'm trying to make inter-process communication in C/C++ on Windows environment.I am creating a shared memory page file and two processes get the handle to that file. It's like this:Process1: Initialize...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images