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]

Re: about cyg_drv_dsr_lock in function of serial_write/serial_read


I'm sorry I ask a stupid question,I don't notice the cyg_drv_cond_wait unlock
the schedule lock.
----- Original Message ----- 
From: "ylyuan" <ylyuan@davform.com>
To: "ecos-discuss" <ecos-discuss@sourceware.cygnus.com>
Sent: Tuesday, March 28, 2000 2:30 PM
Subject: [ECOS] about cyg_drv_dsr_lock in function of serial_write/serial_read


> Hi,in interrupt mode,when a thread wants to send some content through serial,it
> would call cyg_io_write which calls serial_write,if serial_write blocks because
> the buffer is full,for dsr is locked by the call of cyg_drv_dsr_lock,the dsr of
> serial can't be called and wake up the thread suspended.
>       Thanks a lot!

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