Adding locks is extremely costly to protect these operations. Investigate using a consumer thread to poll the completion queue instead or other more performant options.
Adding locks is extremely costly to protect these operations.
Investigate using a consumer thread to poll the completion queue instead or other more performant options.