This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
scheduler question.
- From: Ottawa Guy <ottawaguy81 at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 6 Apr 2004 09:37:52 -0700 (PDT)
- Subject: [ECOS] scheduler question.
Hi,
I am using ECOS for sparc leon processor. I am seeing
the following symptop. I have a taskA which waits on a
semaphore(WAIT_FOR_EVER). A high priority taskB
releases the semaphore upon receiving some events.
Upon getting that semaphore taskA does bunch thing and
goes back to waiting for that semaphore again.
When I dump "cyg_trace_dump" I see taskA sleep reason
as "WAIT". However after running the system for few
minutes, taskA sleep reason becomes "DELAY". I check
the content of get_saved_context() for taskA, it looks
like its inside the cyg_semaphore_wait().
At this time although the taskB keeps on giving the
semaphore , taskA never gets scheduled.
Any ideal, is something missing in BSP??
Ottawa
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss