Forgive me for poking my nose in where my profound ignorance indicates I 
should not but ....

Would not a direct solution be:
1) Have the resident program ALLOC a section of ram
2) Save the address as part of a unique file name (i.e. ADRxxxxxx.ADR 
where xxxxx is the address)
3) Pass the required parameters back and forth via shared memory.
4) Both programs would need to poll the shared memory for updates (some 
bytes could be used for status).

http://gambaswiki.org/wiki/lang/alloc
http://gambaswiki.org/wiki/lang/byte@
http://gambaswiki.org/wiki/lang/integer@
http://gambaswiki.org/wiki/lang/long@
http://gambaswiki.org/wiki/lang/string@
... etc ...


Cheers,

Lewis

On 02/13/2015 02:35 PM, Bruce Cunningham wrote:
> Caveat,
>
> Thanks for the info.
>
> I'm a little concerned about using a "disk" based database because the disk 
> is flash, which has a limited number of write cycles.  Even with 
> wear-leveling, I would eventually kill parts of the flash.  I don't want 
> these things dropping dead in the field after a year or so...
>
> I was considering something like named pipes, but I'm a little unclear about 
> how Linux actually handles them.  I thought I saw a mention that they are 
> managed via temporary files within the file system, and that would defeat the 
> whole idea of not writing to disk.
>
> I know how to do interprocess communication in Windows, but not in Linux with 
> Gambas.
>
> Bruce
>
> Bruce Cunningham
> bcunning...@sportif.com
>
>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to