Re: phk malloc, was (Re: ptmalloc2)
On Tue, 22 Feb 2005 19:08:17 -0500
Dan Melomedman <dan@a.mx.devonit.com> wrote:
> Finally, is mlock portable?
It appears to be part of IEEE 1003.1 (REALTIME), aka POSIX, which says:
"The mlock() function shall cause those whole pages containing any part
of the address space of the process starting at address addr and
continuing for len bytes to be memory-resident until unlocked or until
the process exits or execs another process image. [...] Memory residency
of unlocked pages is unspecified."
-Chris
討論串 (同標題文章)
完整討論串 (本文為第 7 之 57 篇):