From: Anthony Martin <ality@pbrane.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Cc: lucio@proxima.alt.za
Subject: Re: [9fans] nanosleep()?
Date: Fri, 28 Oct 2011 02:59:14 -0700 [thread overview]
Message-ID: <20111028095914.GA17766@dinah> (raw)
In-Reply-To: <CAP6exY+RbaZaKePeW-NxbAjyQn36CW0sGSjSbNeQezGwG+osow@mail.gmail.com>
ron minnich <rminnich@gmail.com> once said:
> For a first pass, you could create a nanosleep for plan 9
> that rounds to milliseconds and then use sleep()
Yup. This is the right thing to do. The prof command
in the Go distribution has a minimum sampling interval
of one millisecond so you don't even need nanosleep.
Anthony
next prev parent reply other threads:[~2011-10-28 9:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 4:07 Lucio De Re
2011-10-28 4:12 ` ron minnich
2011-10-28 9:59 ` Anthony Martin [this message]
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
2011-10-28 4:32 Lucio De Re
2011-10-28 9:21 ` Charles Forsyth
2011-10-28 9:44 ` Lucio De Re
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=20111028095914.GA17766@dinah \
--to=ality@pbrane.org \
--cc=9fans@9fans.net \
--cc=lucio@proxima.alt.za \
/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).