This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
is cyg_io_read atomic process
- From: steve smith <mister dot steve dot smith at gmail dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 9 Mar 2005 18:23:32 -0800
- Subject: [ECOS] is cyg_io_read atomic process
- Reply-to: steve smith <mister dot steve dot smith at gmail dot com>
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