This is the mail archive of the ecos-discuss@sourceware.org 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] |
cyg_drv_dsr_lock() only prevents DSRs until the thread gives up the CPU or cyg_drv_dsr_unlock() is called. In this case, if the thread decides tp call cyg_drv_cond_wait(), then the DSR lock is dropped. Once the DSR runs and signals the condition variable, the thread is resumed - *with* DSRs locked again. Once the thread exits the 'while()' loop, the DSR lock will once again be dropped.
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |