Can somebody give me an example how to build shared memory?
I want to send an integer between to programs. Or better to share a structure.
How to use Shared Memory ?
How to use Shared Memory ?
macOS Catalina 10.15.7
Re: How to use Shared Memory ?
Maybe you can use CFNotificationCenter ?
http://www.purebasic.fr/english/viewtop ... 19&t=68047
http://www.purebasic.fr/english/viewtop ... 19&t=68047
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: How to use Shared Memory ?
Hi Wilbert, I notes it already, but it it looks to complicated to me because I want to send a integer only and the CFNotificationCenter works with strings.wilbert wrote:Maybe you can use CFNotificationCenter ?
http://www.purebasic.fr/english/viewtop ... 19&t=68047
So every integer must be converted.
I hope there is an more efficient way.
macOS Catalina 10.15.7
Re: How to use Shared Memory ?
There are other ways; don't know if you like those betterWolfram wrote:I hope there is an more efficient way.
http://nshipster.com/inter-process-communication/
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)