jeudi 13 septembre 2018

How do I implement thread affinity in c++

I am using a third-party API which requires thread affinity i.e. The third-party API returns a handle which any subsequent third-party API calls using that handle must execute on the same exact thread. What's is the best way to implement this in standard C++11 (using no other 3rd party libraries e.g. boost etc.)?

Aucun commentaire:

Enregistrer un commentaire