This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]