Question for keeping pages in the RAM?

08/02/2004 - 11:49 por Frank | Informe spam
Hi,folks

I am a beginner, I wanna allocate a number of pages of space for some
operations, and I need keeping those pages stay in the RAM at all for
operating faster.Is there WIN32 API can do it? Any reply is appreciated :p

Thanx very very ... much!

Frank F.Han

+--+
| winsays@:-)hotmail:-).com |
+--+
 

Leer las respuestas

#1 Tim Robinson
08/02/2004 - 12:16 | Informe spam
You can call VirtualLock to ask Windows to try to keep certain pages in
physical memory. But, as always, the kernel knows best, and it can still
page out your memory.

Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/

"Frank" wrote in message
news:
Hi,folks

I am a beginner, I wanna allocate a number of pages of space for some
operations, and I need keeping those pages stay in the RAM at all for
operating faster.Is there WIN32 API can do it? Any reply is appreciated :p

Thanx very very ... much!

Frank F.Han

+--+
| winsays@:-)hotmail:-).com |
+--+


Preguntas similares