Re: [Pharo-users] Pharo Shared Memory with C++ executable

2016-11-06 Thread Esteban Lorenzano
> On 6 Nov 2016, at 22:17, Dimitris Chloupis wrote: > > > "Now my challenges after reading the UFFI documentation are the following oh crap… I forget I have to finish that :( UFFO doc: back to my TODO list... Esteban > > 1) How I can pass things like O_CREAT , MAP_SHARED > 2) How I cast a

Re: [Pharo-users] Pharo Shared Memory with C++ executable

2016-11-06 Thread Dimitris Chloupis
"Now my challenges after reading the UFFI documentation are the following 1) How I can pass things like O_CREAT , MAP_SHARED 2) How I cast a void pointer (its what mmap returns) to a C++ string or C++ int" After carefully re-reading the documentation its seems the answer to question 1 is that I

[Pharo-users] Pharo Shared Memory with C++ executable

2016-11-06 Thread Dimitris Chloupis
Hey fellow Pharoers I have great news, I was able to finally understand how shared memory file works and actually do it Why is that great news you may ask. A shared memory file is a file that maps a specific area of memory, which means when you write to a specific part of the memory it writ