Nero Fernandez wrote:
> Please find an archive attached, containing :
> - a program for testing context-switch-latency using posix-APIs
> for native linux kernel and xenomai-posix-skin (userspace).
> - Makefile to build it using xenomai
Your program is very long to tell fast. But it seems you are using the
mutex as if they were recursive. Xenomai posix skin mutexes used to be
recursive by default, but no longer are.
Also note that your code does not check the return value of the posix
skin services, which is a really bad idea.
Xenomai-core mailing list