This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Equivalent of sleep() in ECOS for delay


cyg_thread_delay (NUMms) can be used inside of a thread.

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.

  > -----Original Message-----
  > From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-
  > owner@sources.redhat.com] On Behalf Of Thiagarajan Rajasekaran
  > Sent: Wednesday, July 18, 2001 10:28 AM
  > To: ecos-discuss@sources.redhat.com
  > Subject: [ECOS] Equivalent of sleep() in ECOS for delay
  > 
  > Hi,
  >   I'm trying to look for an equivalent of sleep() in ECOS.  Is there
any
  > delay function available in ECOS?. Please reply to me asap.
  > 
  > thanks,
  > 
  > Raj
  > 
  > --
  > ****************************************************************
  > *   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                          *
  > ****************************************************************
  > 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]