From: Black, M. <Michael.Black@EssexCorp.com> - 2008-03-24 12:25:42
|
Why doesn't select/poll satisfy? That's what most everybody uses. Your other choice is going to be to fork a process that fills a FIFO queue which you can read from the other process. I rarely see anybody do that. ___________________ Michael D. Black Essex bl...@es... -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of ani...@pa... Sent: Monday, March 24, 2008 4:53 AM To: General mailing list for gumstix users.; SunitM Cc: gum...@li... Subject: [Gumstix-users] Serial timeout option Hi All , I want to achieve a simple serial timeout when a link is not present.But also the program should read data when link is there. Select and Poll doesn't satisfy the needs.Moreover a Nonblock option idscards the read option even when the link is present. Please suggest some useful way of achieving the abopve functionality.. Thanks in Advance. Anil ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users This electronic message and any files transmitted with it contain information which may be privileged and/or proprietary. The information is intended for use solely by the intended recipient(s). If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this information is prohibited. If you have received this electronic message in error, please advise the sender by reply email or by telephone (301-939-7000) and delete the message. |