home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / h / delay next >
Encoding:
Text File  |  1995-01-11  |  1.1 KB  |  38 lines

  1. /* -*-C-*-
  2.  *
  3.  * $Header: /ax/networking:include/delay.h:networking  1.1  $
  4.  * $Source: /ax/networking:include/delay.h: $
  5.  *
  6.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  7.  *
  8.  * $Log:    delay.h,v $
  9.  * Revision 1.1  95/01/11  10:21:31  kwelton
  10.  * Initial revision
  11.  * 
  12.  * Revision 1.4  89/05/20  15:27:59  mark
  13.  * Much simplified.
  14.  * 
  15.  * Revision 1.3  88/06/17  20:06:58  beta
  16.  * Acorn Unix initial beta version
  17.  * 
  18.  */
  19. /* delay.h
  20.  *
  21.  * The MICRODELAY macro provides a cpu-busy-wait to give a short timing
  22.  * slug for nefarious purposes.  Note that it should have the effect
  23.  * of waiting for AT LEAST the specified period:  depending on the
  24.  * compiler, it may well hang about for a little longer...
  25.  *
  26.  * The effect of the MICRODELAY macro is now just to call the DELAY_ 
  27.  * function (implemented in delay.s) with the desired delay in 
  28.  * microseconds as parameter.  The actual function takes care of
  29.  * speed adjustments according to its operating environment.
  30.  *
  31.  */
  32.  
  33. extern void DELAY_();
  34.  
  35. #define  MICRODELAY(microseconds) DELAY_(microseconds)
  36.  
  37. /* EOF delay.h */
  38.