interprocess Questions
1
Solved
At the moment, I am using EventEmitter2 as a message bus inside my application, and I really like it.
Anyway, now I need a message bus which does not only work in-process, but also inter-process. ...
Pestilent asked 25/7, 2013 at 19:16
1
Solved
I have a problem with placing boost::lockfree::queue<<T, fixed_sized<false>, ..>
in shared memory. I need it because I have to be able to insert more than 65535 messages into the que...
Reefer asked 15/2, 2013 at 11:1
1
Solved
This is my first time posting a question here, I usually find answers in the archive but I'm stumped this time.
I'm grabbing data off of a joystick using some code from the vendor that uses Windo...
Mcdermott asked 9/1, 2013 at 14:6
12
Solved
I need to send a (probably one) simple one-way command from client processes to server process with arguments of builtin C++ types (so serialization is pretty simple). C++, Windows XP+.
I'm ...
Alcoholism asked 22/3, 2011 at 22:33
2
Solved
I thought I'd use Boost.Interprocess's Message Queue in place of sockets for communication within one host. But after digging into it, it seems that this library for some reason eschews the POSIX m...
Ephemeris asked 2/1, 2009 at 21:21
3
Solved
I seem to be having an issue with boost::interprocess::file_lock
I have process 1 that is essentially
boost::interprocess::file_lock test_lock("testfile.csv");
test_lock.lock();
sleep(1000);
...
Ordzhonikidze asked 14/7, 2011 at 17:51
1
I have not been able to find a good example that shows how to use boost::interprocess::named_semaphore (not even on the Boost web site).
I could see something about interprocess_semaphore, but the...
Agamete asked 8/3, 2011 at 10:28
1
Solved
I'm trying to use named pipes for the first time. In the MS documentation found here, it states that:
EndWaitForConnection must be called exactly once for every call to
BeginWaitForConnection.
...
Mandell asked 4/2, 2012 at 23:8
2
Solved
I am sharing some data across multiple processes by using shared memory; I use inter processes mutexes to achieve synchronization.
My question is the following: is it possible to use lock-free da...
Turbine asked 16/11, 2011 at 23:44
5
Solved
I have an out-of-process COM server that needs to keep an eye on things. This server runs as a service and is, internally, a singleton. For simplicity sake, I will call him BossCom.
I have another...
Humidity asked 14/1, 2011 at 14:18
1
I'm trying to use an mmap-like segment to allocate objects on stl containers, for that I'm using boost::interprocess which provides with memory mappings, allocators and anonymous memory mapping sup...
Wye asked 16/8, 2011 at 15:26
1
Solved
Microsoft played safe here. In their article, "Creating a Child Process with Redirected Input and Output", they are saying:
The remaining open handles are cleaned up when this process terminates...
Shufu asked 5/7, 2011 at 10:19
1
Solved
I'm using boost::interprocess::scoped_lock, if the application crash for some reason inside the scope the mutex isn't released.
Next time the application is executed (without restarting the compute...
Awaken asked 7/6, 2011 at 15:50
1
Solved
I'd like to pass a Cuda context between two independent Linux processes (using POSIX message queues, which I already have set up).
Using cuCtxPopCurrent() and cuCtxPushCurrent(), I can get the con...
Beck asked 19/5, 2011 at 16:4
3
Possible Duplicate:
Should I close a socket (TCPIP) after every transaction?
Lets say I have some type of interprocess communication that works using sockets.
Should my processes es...
Blake asked 13/4, 2011 at 5:9
3
Has anyone tried to create a log file of interprocess communications? Could someone give me a little advice on the best way to achieve this?
Baby asked 6/11, 2010 at 12:39
2
Solved
So I wonder - is it possible to pass accepted TCP connection (on Windows or Unix like OS) from one process to another? Here the point is to pass connection - not data in a way a proxy app would.
Nam asked 15/3, 2011 at 13:54
2
Solved
I'm looking for a definitive answer (if indeed one exists) on how much memory should be allocated when creating a static chunks of shared memory via boost::interprocess's managed_shared_memory. Eve...
Dorsoventral asked 12/11, 2010 at 16:14
1
I want to write a simple application with boost that passes string object to other process. It compiles well, but when i try to print out string from second process, following messages are put to c...
Boise asked 25/11, 2010 at 15:30
2
Solved
I am looking for the best way to effectively share chunks of data between two (or more) processes in a writer-biased reader/writer model.
My current tests are with boost::interprocess. I have crea...
Thornberry asked 11/11, 2010 at 17:45
2
Solved
Interprocess Communication using Named Pipes in C# is easy, but im not exactly sure how to do this in php, or if its even possible. so i have these questions:
Is named pipes possible in php?
Is i...
Chatman asked 2/9, 2010 at 1:18
4
Solved
Just out of curiosity, what is the preferred way to achieve interprocess synchronization on Linux? The sem*(2) family of system calls seem to have a very clunky and dated interface, while there are...
Miskolc asked 25/8, 2010 at 17:52
7
Solved
I'm messing around with some interprocess communication stuff and I am curious if it's possible to copy a function into some shared memory and run it from there from either process.
Something like...
Piracy asked 25/8, 2010 at 20:17
4
Solved
can a python script know that another instance of the same script is running... and then talk to it?
I'd like to prevent multiple instances of the same long-running python command-line script from running at the same time, and I'd like the new instance to be able to send data to the original insta...
Diorama asked 29/5, 2010 at 16:46
2
I want to create a mapped binary file into memory; however I am not sure how to create the file to be mapped into the system. I read the documentation several times and realize there are 2 mapped f...
Complimentary asked 28/3, 2010 at 2:7
© 2022 - 2024 — McMap. All rights reserved.