Compiling & Linking

Include the following at the top of any translation unit:

   1 #include <ecl/ipc.hpp>
   2 
   3 using ecl::Semaphore;
   4 using ecl::SharedMemory;

If outside of ros, you will also need to link to ecl_ipc.

Cross Platform Support

Currently there is only the posix structures. There is win32 code lying around from an earlier version of the ecl, but since we're not using windows these days, it is largely untested against more recent updates. When we have a need, it will be reintroduced.

Tutorials

  • Semaphores - inter-process locks for use with shared memory.

  • Shared Memory - fast, typesafe, interprocess communication.

Wiki: ecl_ipc (last edited 2012-01-24 23:43:40 by DanielStonier)