9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@9fans.net
Subject: Re: [9fans] nanosleep()?
Date: Fri, 28 Oct 2011 06:32:01 +0200	[thread overview]
Message-ID: <2c6647ce10a71170c62e6cb498e0dbd6@proxima.alt.za> (raw)

> For a first pass, you could create a nanosleep for plan 9 that rounds
> to milliseconds and then use sleep()

Sounds like a plan, because the man page for nanosleep() expects the
underlying resolution to be implemented.  The complexities of "does
not interact with signals" can probably be ignored until further
notice for present purposes.  Being able to resume may take a bit of
effort.

++L




             reply	other threads:[~2011-10-28  4:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  4:32 Lucio De Re [this message]
2011-10-28  9:21 ` Charles Forsyth
2011-10-28  9:44   ` Lucio De Re
  -- strict thread matches above, loose matches on Subject: below --
2011-10-28  4:07 Lucio De Re
2011-10-28  4:12 ` ron minnich
2011-10-28  9:59   ` Anthony Martin
2011-10-28 10:25     ` Charles Forsyth
2011-10-28 10:39       ` Charles Forsyth
2011-10-28 11:31         ` Lucio De Re
2011-10-28 11:42           ` Charles Forsyth
2011-10-28 12:05             ` Lucio De Re
2011-10-28 12:08               ` Lucio De Re
2011-10-28 12:20                 ` Charles Forsyth
2011-10-28 14:32                   ` Lucio De Re
2011-10-29 20:48                     ` Christopher Nielsen

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=2c6647ce10a71170c62e6cb498e0dbd6@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --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).