I need to prevent application s memory pages from being swapped out of RAM on Windows. Is there a WinAPI function equivalent of POSIX mlockall()
to achieve that?
For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...