pvbrowser / pvb

HMI and SCADA
http://pvbrowser.org
Other
268 stars 152 forks source link

Jlo fixes/rlsharedmemory improvements #19

Closed johannes-lode closed 5 years ago

johannes-lode commented 5 years ago

Add compile time selection for POSIX shared memory vs. old IPC style, add locking proxy.

POSIX shared memory is file based and easier in administration, also it is persistent over machine reboots and more modern.

Locking objects for shared memory is C++ style of locking and automatic unlocking of shared memory segments. Actually is not a proxy object, but just a simple locking class, which unlocks memory on object destruction.

pvbrowser commented 5 years ago

With rlsharedmemory.cpp we will need more time and dicussion. Delayed for the moment.