From: Alex Riesen <raa.lkml@gmail.com>
To: madhu.subbaiah@wipro.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: select(0,NULL,NULL,NULL,&t1) used for delay
Date: Thu, 6 Oct 2005 16:27:37 +0200 [thread overview]
Message-ID: <81b0412b0510060727h35c0fd78i260037ca89f253f9@mail.gmail.com> (raw)
In-Reply-To: <1128606546.14385.26.camel@penguin.madhu>
On 10/6/05, Madhu K.S. <madhu.subbaiah@wipro.com> wrote:
> Hi all,
>
> In many application we use select() system call for delay.
>
> example:
> select(0,NULL,NULL,NULL,&t1);
>
> select() for delay is very inefficient. I modified sys_select() code for
Why don't you just use nanosleep(2) (or usleep)?
next prev parent reply other threads:[~2005-10-06 14:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-06 13:49 Madhu K.S.
2005-10-06 14:25 ` Jesper Juhl
2005-10-06 14:28 ` Jesper Juhl
2005-10-06 19:05 ` Howard Chu
2005-10-06 19:41 ` Christopher Friesen
2005-10-06 14:27 ` Alex Riesen [this message]
2005-10-06 15:26 ` Christopher Friesen
2005-10-06 15:42 ` Bernd Petrovitsch
2005-10-06 15:57 ` Christopher Friesen
2005-10-06 17:30 ` Bob Copeland
2005-10-10 18:06 ` Bill Davidsen
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=81b0412b0510060727h35c0fd78i260037ca89f253f9@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=madhu.subbaiah@wipro.com \
/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
all inboxes | Powered by JetHome®