[Qt-interest] QtSharedMemory

RZ rz at univie.ac.at
Sat Aug 8 17:25:29 CEST 2009


Hi all,

i got one application that creates a shared memory (more or less an 
array) in which other "modules" write some debug data. Afterwards I read 
out the data with the aid of my application and do some nice qwt curves.

I do this because some of my modules tend to crash and - here's the 
question - they crash while they are attached to and lock (?) the shared 
memory. But if this occurs then the shared memory stays locked and I 
can't read the data with my application - which makes these interesting 
results unaccessible.

Is there any way to unlock the lock? I'm doing this on Linux but could 
not find anything :-(

Any help appreciated,

RZ



More information about the Qt-interest-old mailing list