public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Thiagarajan Rajasekaran <rajt@connecttel.com>
To: "'eCos mailing list'" <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] Equivalent of sleep() in ECOS for delay
Date: Thu, 19 Jul 2001 07:35:00 -0000	[thread overview]
Message-ID: <3B56F560.29E26D98@connecttel.com> (raw)
In-Reply-To: <3B55C040.D233D9AC@redhat.com>

Thanks a lot. I got my problem fixed.

Raj

Jonathan Larmour wrote:

> "Trenton D. Adams" wrote:
> >
> > cyg_thread_delay (NUMms) can be used inside of a thread.
>
> Yes, preferentially.
>
> > Otherwise use
> >     CYGACC_CALL_IF_DELAY_US(10000*NUMms);
> >
> > I would think that 10000 should be changed to 1000, but I could be
> > wrong.  I took this out of another piece of code so I'm not really sure
> > about that last one.
>
> Yes, 1000.
>
> Or if using the POSIX compatibility package, just use sleep()!
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
> Come to the Red Hat TechWorld open source conference in Brussels!
> Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

--
****************************************************************
*   Thiagarajan Rajasekaran                                    *
*   ConnectTel, Inc.                    Austin, Texas.         *
*   Phone : 512-338-1111 Ext-104        Fax : 512-918-0449     *
*   Email : rajt@connecttel.com                                *
*   Site  : http://www.connecttel.com                          *
****************************************************************


  reply	other threads:[~2001-07-19  7:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18  9:06 Thiagarajan Rajasekaran
2001-07-18  9:14 ` Trenton D. Adams
2001-07-18  9:58   ` Jonathan Larmour
2001-07-19  7:35     ` Thiagarajan Rajasekaran [this message]
2001-07-19 17:07     ` Rosimildo da Silva
2001-07-19 18:08       ` Jonathan Larmour
2001-07-19 19:06         ` Rosimildo da Silva

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=3B56F560.29E26D98@connecttel.com \
    --to=rajt@connecttel.com \
    --cc=ecos-discuss@sources.redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).