9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] alarm() and threads..
@ 2005-12-06 22:16 ISHWAR RATTAN
  2005-12-06 22:24 ` Russ Cox
  0 siblings, 1 reply; 6+ messages in thread
From: ISHWAR RATTAN @ 2005-12-06 22:16 UTC (permalink / raw)
  To: 9fans

What is the behavior of using alarm() in one of the threads
in a multi-threaded program? Which will thread will get the
note? Or it is undefined -- alarm() can be used at process
level.

Also, where can I find sample code to handle terminal
abort/interrupt?

-ishwar


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

end of thread, other threads:[~2005-12-07 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 22:16 [9fans] alarm() and threads ISHWAR RATTAN
2005-12-06 22:24 ` Russ Cox
2005-12-07 14:29   ` ISHWAR RATTAN
2005-12-07 14:32     ` Russ Cox
2005-12-07 17:11       ` ISHWAR RATTAN
2005-12-07 18:43         ` Russ Cox

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).