On 08/11/2014 05:33 PM, Matthew Lindner wrote: > Has anyone experimented with using std::thread from the C++ STL library? I > am curious if it automatically incorporates the xenomai pthread API layer > or whether it bypasses that and accesses the linux pthread library.
If the call to pthread_create (for instance), is in the libstdc++ library, and this library is dynamic, then the library needs to be recompiled to use Xenomai's __wrap_pthread_create instead of pthread_create. If the library is static, then you can wrap pthread_create to __wrap_pthread_create when linking the library with your program. -- Gilles. _______________________________________________ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai