[ECOS] how to set overtime to serial port block read/write?
Sat Sep 26 07:58:00 GMT 2009
I think it's a common question, but i can't find the answer. I
think block read/write of serial port need a overtime, if time exceeds
that, i can made my program don't
wait any longer, if i can't set overtime, maybe i send a command and
wait for response, but when some error occurs and the reponse is lost,
my thread will wait forever.
Do anyone have find how to send overtime to block read/write? Please help me.
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