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]

Re: Quick question about cyg_cond_signal


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


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