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 <pthread.h>

... 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 <nptl/pthread.h>

... or do you know of a cleaner solution?

I'm asking you this, because I'm using a trimmed down boost library (interprocess + bare minimum from the rest of boost) and only in the interprocess headers do I see pthread.h inclusion. Furthermore, I will have to link against /lib64/tls/libpthread-2.3.4.so... do you foresee a problem with that?

Many thanks,
Szilard