[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OT] Newbie Programming ?

From: Mark Hounschell
Subject: [OT] Newbie Programming ?
Date: Thu, 27 Jun 2002 15:45:30 -0400

I have a multi threaded app. One of the threads does serial i/o reads 1 byte at
a time like
 In_char = fgetc(CurQ->File);

 Obiously when no data is comming in the serial port this thread is "stuck" on
this read waiting for a char, which is good. But, is there a way, from say
another thread, to "kill 
this i/o" so that the thread continues on as if it had read a char? Some sort of
kill i/o
call in glibc???

Sorry if this is not the place to ask. I realize this is not a glibc bug. If
this is not
the place could someone possibly point me to one?

Thanks and regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]