9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] A question about timeout
@ 2009-07-14 14:21 Adriano Verardo
  2009-07-14 14:47 ` cinap_lenrek
  0 siblings, 1 reply; 4+ messages in thread
From: Adriano Verardo @ 2009-07-14 14:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm porting some Unix applications which implement a timeout on
read/write/accept/... calls using select().

In previous versions I did the same by signals but with problems
due to the behaviour  of the interrupted system call.

Select() is also used to choose among channels waiting for I/O.

How can I implement channel selection and secure timeouts
without using APE ?

Re-write some pieces is not a problem, I prefer a "pure" 8c implementation.


adriano



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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14 14:21 [9fans] A question about timeout Adriano Verardo
2009-07-14 14:47 ` cinap_lenrek
2009-07-14 17:41   ` Adriano Verardo
2009-07-14 19:01     ` cinap_lenrek

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 NNTP newsgroup(s).