public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] how to set overtime to serial port block read/write?
@ 2009-09-26  7:58 wb ning
  2009-09-27 21:55 ` Jonathan Larmour
  0 siblings, 1 reply; 6+ messages in thread
From: wb ning @ 2009-09-26  7:58 UTC (permalink / raw)
  To: ecos-discuss

Hi, everyone:
    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.

Thanks.
wenbo

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-07 19:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-26  7:58 [ECOS] how to set overtime to serial port block read/write? wb ning
2009-09-27 21:55 ` Jonathan Larmour
2009-09-28  6:42   ` wb ning
2009-10-07  2:44   ` wb ning
2009-10-07  3:17     ` Jonathan Larmour
     [not found]       ` <44185a820910070151l673d3ab9r7f68c7adef7cb3ed@mail.gmail.com>
2009-10-07 19:27         ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).