From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Jonathan Larmour Cc: Dave Airlie , ecos-discuss@sources.redhat.com Subject: Re: [ECOS] short reads on serial port.. Date: Thu, 26 Oct 2000 12:57:00 -0000 Message-id: <20001026145902.A17901@visi.com> References: <39F8832A.F2AFAAF0@redhat.com> X-SW-Source: 2000-10/msg00327.html On Thu, Oct 26, 2000 at 08:16:58PM +0100, Jonathan Larmour wrote: > > Should I use select, what does it drag in the way of extra stuff to my > > build ... I don't want to have to add POSIX stuff really... > > Um, serial reads do block by default. If you want to wait on multiple > devices but avoid select, you could use multiple threads using blocking > reads, which then signal your original thread when data arrives. Does the serial driver support select? -- Grant Edwards grante@visi.com