This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gluttton for punishment


That's me. I admit it.

To test case the pshared mutex's I recently got going (getting cond vars
working before I submit a patch - I am trying to avoid a tangled ball of
spaghetti. I may fail at that :]) I wrote a bared bones SUS shmget,
shmat ftok implementation for cygwin.

How much interest is there in seeing that fleshed out and submitted?

Also are shared memory id's meant to be cross-process persistent?
I.E. if process A calls shmget(), possibly attachs and sets some data,
and then exits (before another process calls shmget for the same memory
area, does the shared memory area stay valid?

If so, then I think egor's cygwin-server is a must - without that, when
process A terminates, even if cygwin1.dll is still in memory, the shared
memory mapping will be closed, and the data lost.

Egor - how flexible is the server you have written?

Chris - if the AT&T UWIN product supports shmget() then that's probably
why they have a daemon component :]

Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]