readme.md 637 Bytes
Newer Older
p's avatar
p committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// https://www.rdmamojo.com/2013/03/09/ibv_get_cq_event/
// https://man7.org/linux/man-pages/man3/ibv_poll_cq.3.html
// https://man7.org/linux/man-pages/man3/ibv_get_cq_event.3.
//https://docs.microsoft.com/en-us/cpp/cpp/delegating-constructors?view=msvc-170
https://www.toptal.com/c-plus-plus/c-plus-plus-understanding-compilation
/*
    cpu_set_t cpuset;
    CPU_ZERO(&cpuset);
    CPU_SET(i, &cpuset);
    int rc = pthread_setaffinity_np(threads[i].native_handle(),
                                    sizeof(cpu_set_t), &cpuset);
    if (rc != 0) {
      std::cerr << "Error calling pthread_setaffinity_np: " << rc << "\n";
    }

*/