Nero Fernandez wrote:
> Hi,
> 
> 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.

-- 
                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to