9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ISHWAR RATTAN <rattan@cps.cmich.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] alarm() and threads..
Date: Tue,  6 Dec 2005 17:16:57 -0500	[thread overview]
Message-ID: <Pine.GSO.4.61.0512061716170.1546@cps210.cps.cmich.edu.> (raw)

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


             reply	other threads:[~2005-12-06 22:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 22:16 ISHWAR RATTAN [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.61.0512061716170.1546@cps210.cps.cmich.edu. \
    --to=rattan@cps.cmich.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).