Process Locking Functions

The following functions are available to access RTX process memory locking services:

RTSS Environment Programming Considerations

By default, all process and memory objects in the RTSS environment are locked into physical memory to avoid page faults in RTSS processes. The RtLock* (Process, Heap, Stack) functions will always complete with success in the RTSS environment but will perform no actual operations.

Win32 Environment Programming Considerations

Unless explicitly locked into physical memory, all Windows processes and services are paged. In the Win32 environment, the RtLockProcess function can be utilized to prevent Win32 processes from incurring page faults.

Programming Example (RTX Process Memory Locking Calls)

See the RTX Process Memory Locking Calls Programming Example in the RTX Example Reference. It demonstrates the use of RTX process memory locking calls.

 

See Also

IntervalZero.com | Support | Give Feedback