Re: [GENERAL] shared memory allocation - C function

2014-04-17 Thread Alan Nilsson
Perfect, thank you. On Apr 16, 2014, at 9:56 PM, Michael Paquier wrote: > On Thu, Apr 17, 2014 at 8:04 AM, Alan Nilsson wrote: > Is it possible to allocate a small chunk of shared memory outside of any > pools(i.e. manually alloced & de-alloced) that is visible to all processes? > I would li

Re: [GENERAL] shared memory allocation - C function

2014-04-16 Thread Michael Paquier
On Thu, Apr 17, 2014 at 8:04 AM, Alan Nilsson wrote: > Is it possible to allocate a small chunk of shared memory outside of any > pools(i.e. manually alloced & de-alloced) that is visible to all processes? > I would like a small amount to store a mutex and a condition variable that > is accessib

[GENERAL] shared memory allocation - C function

2014-04-16 Thread Alan Nilsson
Is it possible to allocate a small chunk of shared memory outside of any pools(i.e. manually alloced & de-alloced) that is visible to all processes? I would like a small amount to store a mutex and a condition variable that is accessible in a c function from any process. Is there an SPI/API to