This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: Devio function context?


Gary Thomas <gthomas@redhat.com> writes:

> On 07-Mar-00 Grant Edwards wrote:
> > 
> > Are the functions in the EVIO_TABLE (read/write/get|set_config)
> > running in the context of the calling thread?  
> > 
> > For example, can they call cyg_mutex_lock()/cyg_mutex_unlock(),
> > cyg_thread_delay(), etc.?
> > 
> 
> Absolutely.

...but you should really use the cyg_drv_... versions of these
functions so that the driver is portable to non-kernel configurations.


-- 
Nick Garnett
Cygnus Solutions, a Red Hat Company
Cambridge, UK

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