* Make Shared Memory Block Memory-Resident Possible?
@ 1997-04-01 5:00 David Yuan
0 siblings, 0 replies; only message in thread
From: David Yuan @ 1997-04-01 5:00 UTC (permalink / raw)
hi all,
what i want is to have a shared memory be locked inside the
physical memory to prevent from being paged out. what i did is first
create a shared memory segment using POSIX4 or/and Systen V shared memory
creation procedures, then call mlock() to lock it. does it work? i mean, if
the memory creation process exit, is the shared memory segment still being
locked inside the physical memory? in the manual, it says mlock() only lock
the pages during a process's life time. but the shared memory pages exists
longer than a particular process's life time. my platform is DEC Alpha
running Digital UNIX V3.2C.
thanks for any input.
David
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Yuan
MCI Telecommunications Corporation
901 International Pkwy. || Office Number: 972 498 1129
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-01 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-01 5:00 Make Shared Memory Block Memory-Resident Possible? David Yuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox