Mail Archives: djgpp/1997/03/08/12:39:30
Matthew Kennedy (q9522772 AT mail DOT connect DOT usq DOT edu DOT au) wrote:
: I've got a sophisticated 'real-time' program (with lots of ISR hooking
: etc) and I'd like to lock the ENTIRE program (code,data - everthing) out
: of virtual memory disk swaps. How can I perform this? Currently I only
: lock out the code/data that is critical - but I can't lock out the other
: libraries like standard I/O.
Section 18.9 of the FAQ says:
"You might consider disabling virtual memory to make sure your program
doesn't page. To accomplish this, either set the `_CRT0_FLAG_LOCK_MEMORY'
bit in the `_crt0_startup_flags' variable, or use `CWSDPR0' or `PMODE/DJ'
as your DPMI host."
I hope this solves the problem.
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -