linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Hendrik Visage" <hvjunk@gmail.com>
To: vibi_sreenivasan@cms.com
Cc: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: Re: delayed execution
Date: Thu, 3 Jan 2008 12:47:31 +0200	[thread overview]
Message-ID: <d93f04c70801030247y2f2d7dd7r293698f1e8cb0965@mail.gmail.com> (raw)
In-Reply-To: <1198217274.2713.2.camel@root>

On Dec 21, 2007 8:07 AM, vibi <vibi_sreenivasan@cms.com> wrote:
> hello,
>         is there any function to delay the execution of a user defined
> function .

What do you want to achieve?

> i know about sleep . is there any thing other.

Why not sleep or usleep? you might consider sched_yield() or the
alarm()/ualarm() based functions



-- 
Hendrik Visage

      reply	other threads:[~2008-01-03 10:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-21  6:07 delayed execution vibi
2008-01-03 10:47 ` Hendrik Visage [this message]

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=d93f04c70801030247y2f2d7dd7r293698f1e8cb0965@mail.gmail.com \
    --to=hvjunk@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=vibi_sreenivasan@cms.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;
as well as URLs for NNTP newsgroup(s).