[aplusdev] adap (IPC) vs Python shm module

Alexei Zalivine zalivin at krona.obninsk.ru
Sat Mar 31 02:14:07 EST 2001


John,

> Sorry, Adap is for socket communications between processes and doesn't
> support attaching shared memory (for communctions between processes on the
> same machine the host can be `localhost).  The events are generated from a
> select() call for the file descriptor for the socket.  Adap is used
> extensively here for passing large volumes of data between processes
> around our global network.  The `A protocol even handles endian issues.
SHM was selected because it fastest method communication between
application. My application near real time (read from  gauges), and all
tasks will be work on the same machine. I'm not sure that socket
communications corresponds for this task. In any case, thanks a lot!
>
> You could write some C or C++ functions that are dynamically loaded into
> A+ (i.e. _dyld{...;...}) to handle attaching and reading/writing the
> shared memory.
I'm not a C(C++) programmer:-((

Alexei.




More information about the apluslist mailing list