Is it thread safe to call WdfRequestSend with two different requests but the same pipe?

Is it safe to call WdfRequestSend(request, WdfUsbTargetPipeGetIoTarget(pipe), WDF_NO_SEND_OPTIONS) with two different requests but the same pipe from two different threads?

From a WDF pov, yes. If the ordering matters to the device receiving the requests, you need to enforce that order in the calls you make.

Great! Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.