RtNalEnableRxPolling

RtNalEnableRxPolling starts a timer thread which for receive frames with the specified interval.

Syntax

BOOL RtNalEnableRxPolling(
	param queueHandle,
	param Interval,
	param Priority,
	param ProcessorEnableMask		
);

Parameters

queueHandle

Network queue handle returned by RtNalAcquireQueue.

Interval

Polling interval passed to in RtCreateTimerEx.

Priority

The thread priority of the RTSS application.

ProcessorEnableMask

Specifies the RTX RTSS KAFFINITY mask passed to RtCreateTimerEx.

Return Value

Returns TRUE if the call succeeds. Otherwise it returns FALSE. Call GetLastError to obtain an error code.

Remarks

There can be only one polling thread per network queue object. The call polling timer thread runs in the context of an application process. Starting the polling timer disables receive event notifications.

In order for this function to succeed, the device driver must support the NALIO_SET_RX_POLLING_INTVL ioctl.

Requirements

Minimum Supported Version (NAL) RTX64 Network Abstraction Layer 1.0
Minimum Supported Version (RTX64) RTX64 3.1
Header RtNalApi.h
Library RtNal.lib

See Also: