9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: Re: [9fans] setitimer equivalent, and sigvtalarm equivalent
Date: Sat,  2 May 2015 17:27:08 +0200	[thread overview]
Message-ID: <cae5a2d9c268c04fbf4be82f18fccb25@felloff.net> (raw)
In-Reply-To: <327906ef0db2d363fc57be34bfe82774@brasstown.quanstro.net>

won't you need some kind of flow control in this? just hammering
notes onto a process constantly might prevent that process from
doing any progress and even stack overflow as signal handlers
are reentrant on unix/ape. i remember that these timer
signals where handled specially in the linux kernel when i
implemented support for it in linuxemu that tries to prevent
this.

whats the program using interval timers for? maybe one can
rewrite the program todo stuff with multiple processes instead
of using signals?

--
cinap



  reply	other threads:[~2015-05-02 15:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29  4:28 [9fans] setitimer equivalent yoann padioleau
2015-04-29  4:38 ` James A. Robinson
2015-04-29  4:55   ` lucio
2015-04-29  5:19     ` James A. Robinson
2015-04-29  6:38       ` lucio
2015-04-29 16:47 ` erik quanstrom
2015-05-01  3:21   ` [9fans] setitimer equivalent, and sigvtalarm equivalent yoann padioleau
2015-05-01  7:17     ` Skip Tavakkolian
2015-05-02 15:06     ` erik quanstrom
2015-05-02 15:27       ` cinap_lenrek [this message]
2015-05-02 18:01       ` yoann padioleau

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=cae5a2d9c268c04fbf4be82f18fccb25@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9fans@9fans.net \
    /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).