On Sun, 31 Oct 2004 23:48:10 +0800, Zuxy said:
> if (!VirtualLock (addr, len)) {
As said several times: VirtualLock does not do what you think it
does. Frankly, according to POSIX, even mlock is not required to avoid
swapping out pages.
Shalom-Salam,
Werner