Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
RCRegion.h File ReferenceDescribes RCRegion, which provides compatability with the OPEN-R type of the same name. More... #include "Shared/ReferenceCounter.h" #include "ProcessID.h" #include "IPC/Thread.h" #include <sys/types.h> #include <cstdio> #include <map> #include <exception>
Include dependency graph for RCRegion.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed DescriptionDescribes RCRegion, which provides compatability with the OPEN-R type of the same name. Definition in file RCRegion.h. Define Documentation
If TEKKOTSU_SHM_STYLE is set to NO_SHM, all shared memory operations become straight new/delete's; this restricts the program to using threads in a single process. Definition at line 46 of file RCRegion.h.
If TEKKOTSU_SHM_STYLE is set to SYSV_SHM, SysV style shared memory will be used (shmget, shmctl, shmat, shmdt, ...) SysV style seems to stick around following a program crash, and can't be unlinked pre-emptively while still in use. Since it appears many systems also limit the number of shared memory regions (via a sysctl configuration), leaking regions following repeated crashes during development gets annoying. Definition at line 43 of file RCRegion.h.
Can be set to one of POSIX_SHM, SYSV_SHM, or NO_SHM. Definition at line 49 of file RCRegion.h. |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:01 2016 by Doxygen 1.6.3 |