Hello Ion,
I would like to use the interprocess library and some NPTL features
(pthread_setaffinity_np => assign a thread to a cpu) at the same time. The
pthread_setaffinity_np function is declared in /usr/include/nptl/pthread.h
(on my developer platform), but throughout the interprocess/boost headers I
can find
#include
Szilard Pataki escribió:
Hello Ion,
I would like to use the interprocess library and some NPTL features (pthread_setaffinity_np => assign a thread to a cpu) at the same time. The pthread_setaffinity_np function is declared in /usr/include/nptl/pthread.h (on my developer platform), but throughout the interprocess/boost headers I can find
#include
... which makes me think that /usr/include/pthread.h is included. Can I simply swap in the interprocess .hpp files the include statements to this:
#include
... or do you know of a cleaner solution?
From your words I guess that
participants (2)
-
Ion Gaztañaga
-
Szilard Pataki