This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
bin_sem2 test
- From: Joshua Boyd <jdboyd at jdboyd dot net>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 20 Sep 2004 17:45:14 -0400
- Subject: [ECOS] bin_sem2 test
After updating to a recent snapshot of ecos-current, I'm having trouble
with the bin_sem2 test. As best as I can tell from my analysis so far,
it is working, but it never seems to complete.
I changed
if (PHILO_LOOPS == state_changes++)
to:
state_changes++;
diag_printf("state_changes: %d\n", state_changes);
if (PHILO_LOOPS == state_changes)
and it prints out:
state_changes: 1
state_changes: 2
Then for 10 minutes it prints nothing else.
Are the semaphores actually malfunctioning due to a configuration error
on my part, or is it likely to be something else? I'm at a bit of a
loss for solving this.
--
Joshua D. Boyd
jdboyd@jdboyd.net
http://www.jdboyd.net/
http://www.joshuaboyd.org/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss