This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Quick question about cyg_cond_signal
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Srdjan Sobajic <srdjans at digitalpersona dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 02 Nov 2002 06:24:52 -0700
- Subject: Re: [ECOS] Quick question about cyg_cond_signal
- References: <AF2AADDC86B9D311AB2C00508B122299010FB6A2@RWC-MAIL>
On Fri, 2002-11-01 at 20:08, Srdjan Sobajic wrote:
> Hi,
>
> Just a really quick question. Is it safe to call cyg_cond_signal from an
> ISR/DSR? I am doing a cyg_cond_wait in my main loop just waiting for an
> interrupt. I can't find anything that explicitly says that it's OK, but from
> other comments on the list (from last year), it seems that this is OK.
> If anyone can confirm this that would be great.
>
You can't call this from an ISR. It would be safe from
a DSR.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss