[ECOS] bin_sem2 test

Joshua Boyd jdboyd@jdboyd.net
Tue Sep 21 07:43:00 GMT 2004


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



More information about the Ecos-discuss mailing list