Ralf Ramrath wrote:
>
> Hi folks,
>
> I have the following problem:
>
> I have a "main thread" that has to read data from the serial port only if
> any data is available. On the other hand, the thread must not wait longer
> than let's say one second.
>
> The one thing ( reading only if data is
On Thu, Nov 16, 2000 at 09:35:41PM +, Stuart Hughes wrote:
> Ralf Ramrath wrote:
> >
> > Hi folks,
> >
> > I have the following problem:
> >
> > I have a "main thread" that has to read data from the serial port only if
> > any data is available. On the other hand, the thread must not wait l
Stuart Hughes wrote:
>
> Ralf Ramrath wrote:
> >
> > Hi folks,
> >
> > I have the following problem:
> >
> > I have a "main thread" that has to read data from the serial port only if
> > any data is available. On the other hand, the thread must not wait longer
> > than let's say one second.
>
>
Ralf Ramrath wrote:
>
> Hi folks,
>
> I have the following problem:
>
> I have a "main thread" that has to read data from the serial port only if
> any data is available. On the other hand, the thread must not wait longer
> than let's say one second.
Hi Ralf,
IMHO, the correct way to handle
Hi folks,
I have the following problem:
I have a "main thread" that has to read data from the serial port only if
any data is available. On the other hand, the thread must not wait longer
than let's say one second.
The one thing ( reading only if data is available ) I implemented using a
mutex