These tests also pass:

r...@mcs2:/usr/xenomai/bin# ./cond-torture-native
simple_condwait
relative_condwait
absolute_condwait
sig_norestart_condwait
sig_restart_condwait
sig_norestart_condwait_mutex
sig_restart_condwait_mutex
sig_norestart_double
sig_restart_double
cond_destroy_whilewait
Test OK
r...@mcs2:/usr/xenomai/bin# ./cond-torture-posix
simple_condwait
relative_condwait
absolute_condwait
sig_norestart_condwait
sig_restart_condwait
sig_norestart_condwait_mutex
sig_restart_condwait_mutex
sig_norestart_double
sig_restart_double
cond_destroy_whilewait
Test OK
r...@mcs2:/usr/xenomai/bin#
 
If you want me to run other tests let me know.  I have run xeno-test as well as 
these torture tests.  My unit test code tests a custom sja1000 can driver that 
I wrote based on the xenomai rtcan_peak_pci.c driver module.  If you want 
source for that I will send it but it is of limited value since it is written 
for our custom PLX9030 PCI interface.

--

John

-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperd...@xenomai.org] 
Sent: Monday, March 08, 2010 3:42 PM
To: Charlton, John
Cc: 'jan.kis...@web.de'; xenomai-core
Subject: Re: [pull request] Fixes and workarounds for the cond issues

Charlton, John wrote:
> Yes with the xenomai-2.5 branch latest as of 1900 UTC everything works 
> without error including the mutex-torture tests (output below):
> 
> r...@mcs2:/usr/xenomai/bin# ./mutex-torture-native simple_wait 
> recursive_wait timed_mutex mode_switch pi_wait lock_stealing
> NOTE: lock_stealing mutex_trylock: not supported simple_condwait 
> recursive_condwait Test OK r...@mcs2:/usr/xenomai/bin# 
> ./mutex-torture-posix simple_wait recursive_wait errorcheck_wait 
> timed_mutex mode_switch pi_wait lock_stealing
> NOTE: lock_stealing mutex_trylock: not supported simple_condwait 
> recursive_condwait Test OK r...@mcs2:/usr/xenomai/bin#
> 
> pthread_set_mode_np(NULL, PTHREAD_WARNSW) also works with this branch. Thank 
> you for the help.

You also have cond-torture-posix, and cond-torture-native, which should test, 
among other things, the fix for the condition variable bug you had.

-- 
                                            Gilles.

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

Reply via email to