shared_memory_pos.cpp File Reference

Magic trick to make sure the library is called for shared memory. More...

#include "../../include/ecl/ipc/shared_memory_pos.hpp"
Include dependency graph for shared_memory_pos.cpp:

Go to the source code of this file.


Detailed Description

Magic trick to make sure the library is called for shared memory.

If using --as-needed and shared memory objects, this library will often not get called (as the shared memory class is 100% headers). This will result in sometimes (if nothing else calls it) -lrt not being called and ultimately you will get undefined references to shm_unlink and co.

This is some magic to make sure that you always bring in the library when using the shared memory class.

Date:
January 2011

Definition in file shared_memory_pos.cpp.



ecl_ipc
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:13:04