[ECOS] is cyg_io_read atomic process

steve smith mister.steve.smith@gmail.com
Thu Mar 10 09:56:00 GMT 2005


if I do cyg_io_read in a lower priority thread, and once the
cyg_io_read starts reading the buffer will it get preempted in the
middle of the reading by a higher priority thread(which has become
ready to execute) OR an interrupt? or is it an atomic process?
I am using a AT91R40006 micro, with the hardware serial driver for the
cyg_io_read.
thanks.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list