This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
bypass DSR, sem_post from ISR
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] bypass DSR, sem_post from ISR
- From: Phung Te Ha <phungte at yahoo dot com>
- Date: Thu, 24 May 2001 13:27:55 -0700 (PDT)
Hi everyone,
I have an interrupt handling which needs reschedule
(cyg_thread_delay and mutex_lock) so I have the real
service in a thread.
My question is that is it safe to call cyg_sem_post
directly from the ISR and start my service thread
rather than start the DSR and wait for this one to
call cyg_sem_post?
Thanks for your ideas.
Phungte
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/