Re: IPC and Shared Memory blocks
- Posted by katsmeow Sep 23, 2016
- 2067 views
Ok, i have two programs bidirectionally sharing memory (sending Eu objects back and forth), using
Memory Sharing Library Version: 3.0 Created by: Jason Mirwald and Mario Steele Modified by Jordah Ferguson to Share Euphoria Objects Modified by Katbut i still need to add the winmsg'ing to avoid polling the memory and etc. I am trying to figure out how it's done in
Windows IPC (InterProcess Communication) Library Version 1.0 Thomas Parslow (patrat)
EDIT: I'm stuck. Apparently,
while c_func(xGetMessage, {msg, NULL, NULL, NULL}) do -- c_proc(xTranslateMessage, {msg}) -- c_proc(xDispatchMessage, {msg}) end while
must be looping constantly. But it isn't using any cpu. Makes no sense.