Matrix of RTSS-Only Functions

The matrix below contains a listing of the supported functions that can only be called from a RTSS process or RTDLL. These functions cannot be called from a Windows application.

Function Name Description
RtAllocateLocalMemoryEx

Allocates memory from a pre-allocated RTSS local memory pool to avoid SRI activity if allocating memory from the Windows memory pool.

RtAllocateLockedMemory

Commits and locks the specified amount of memory to avoid page faults as the memory is used.

RtExpandLocalMemory

Expands the local memory pool upon request by the size specified.

RtGetCurrentProcessorNumber

Returns the system-assigned number of the current processor on which the caller is running.

RtGetEnabledXStateFeature

Returns the highest feature for a specified XState feature set supported on the running processor and enabled by RTX64.

RtGetFlushTLBTickMod

Allows a RTSS process to query the current flush TLB tick mod set by RtSetFlushTLBTickMod.

RtFreeLockedMemory

Frees memory previously committed and locked by a call to RtAllocateLockedMemory.

RtGetPciMsixFreeMessages Returns a PCI device’s MSI-X free messages (the MSI-X table entries available for attaching messages).

RtGetRtssTimeAsFileTime

Gets the current value for RTSS time.

RtGetThreadStack Retrieves the thread stack parameters for an existing thread object.
RtGetThreadTimeQuantum Gets the current time quantum, in microseconds, for the specified thread.

RtGetThreadTimeQuantumEx

Gets the current time quantum, in microseconds, for the specified thread.

RtGetThreadTimes

Retrieves timing information for the specified RTSS thread. This function can only be called in RTSS processes.

RtInitializeFastSemaphore

Initializes a fast semaphore object.

RtOpenThread Opens an existing thread object and returns a handle to that thread object.

RtQueryPciMsiCapability

Allows a user to query a PCI device and determine if the device has MSI or MSI-X capability. RtQueryPciMsiCapability is only supported in the RTSS environment. It cannot be called from a Windows application linked to RTX.

RtQueryProcessorVectorFreeCount Queries the number of RTSS processor vectors (IDT vectors) currently available for attaching interrupts.

RtReleaseAllFastSemaphore

Releases all threads waiting on the fast semaphore. Ensures that all waiting threads enter the ready-to-run state. Ensures that no new threads enter the busy wait state until all current waiters have become runnable.

RtReleaseFastSemaphore

Releases the specified count of threads waiting on the fast semaphore. If the number of waiting threads is less than the specified count, RtReleaseFastSemaphore will store the remaining count value and continue to release new threads that call RtAcquireFastSemaphore on this fast semaphore.

RtSetFlushTLBTickMod

Allows a RTSS process to set the flush TLB tick mod.

RtSetRtssTimeAsFileTime

Sets the new value for RTSS time.

RtSetThreadTimeQuantum Sets the time quantum, in microseconds, for the specified thread.

RtSetThreadTimeQuantumEx

Sets the time quantum, in microseconds, for the specified thread.

RtShrinkLocalMemory

Shrinks the RTSS local memory pool to the size specified.

RtWaitForMultipleObjectsEx

Allows a thread to wait on one of multiple objects to be signaled with high granularity of time-out interval.

RtWaitForSingleObjectEx

Allows a thread to wait on an object to be signaled with high granularity of time-out interval.