Share via


INDEndpoint::SubmitRequestBatch Method

Submits a batch of requests to the Network Direct hardware.

Syntax

void SubmitRequestBatch();

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

Calling this method issues the batched requests and turns off batching. To initiate batch processing again, call the INDEndpoint::StartRequestBatch method.

Network direct providers may issue batched requests before the SubmitRequestBatch method is called to ensure optimal hardware performance.

Implementation Notes

Assuming strict serialization is not used to batch requests, it is possible for batches of requests to interleave if they are simultaneously issued by different threads. Providers in this case cannot necessarily start executing all the requests from one thread if another is still formatting an interleaved request. Providers can however keep track of the number of requests that are in the process of being handled. Only when this number is zero does a provider know if it is safe to hand outstanding requests to the hardware for processing.

Requirements

Product

Microsoft Message Passing Interface (MS-MPI)

Header

Ndspi.h

See Also

INDEndpoint

 

 

Send comments about this topic to Microsoft

Build date: 7/2/2010