[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coreutils] slimmer alternative to sleep command?
From: |
Chris Jones |
Subject: |
Re: [coreutils] slimmer alternative to sleep command? |
Date: |
Sat, 24 Jan 2009 17:49:41 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Jan 24, 2009 at 02:44:18PM EST, Paul Jarc wrote:
> Chris Jones <cjns1989@gmail.com> wrote:
> > I was wondering if I could avoid the overhead of starting and
> > terminating the sleep child process by using a different strategy.
>
> Instead of bash, you could use a scripting language that has sleep as
> a built-in function. Python, Perl, Guile, Ruby, Haskell...
I also thought or rewriting my scripts in C.
I would imagine the linux implementation of the sleep() function does
not result in anything besides some system call or other?
Thanks,
CJ