The dpcall man page







NAME
     dpcall - set user alarm and its handler

SYNOPSIS
     #include 

     void dpcall(t, alrmfunc)
     long t;
     FUNCPTR alrmfunc;

DESCRIPTION
     dpcall() does two things:  it  schedules  the  system  alarm
     clock  to go off (which will generate the SIGALRM signal) at
     t microseconds from now, and sets the alarm signal  handling
     function alrmfunc.

     When the system alarm occurs, alrmfunc will  be  invoked  to
     process  the  signal.   alrmfunc  can  be NULLFUNC (defined,
     along with FUNCPTR, in dp.h) so the  alarm  signal  will  be
     ignored.

     If t is smaller than the  resolution  of  the  system  clock
     (e.g.,  10  milliseconds  for  Sun  SPARC  4s  and  the  IBM
     RS/6000), it will be rounded up automatically to the resolu-
     tion.

     Note that this is the only legitimate way through which a DP
     application  can  use  the  alarm facility as direct use the
     alarm system call is not permitted.

REMARK
     This is a DP function call.

AUTHOR
     David Arnow

FILES
     /usr/include/dp/dp.h - DP header file
     /usr/lib/libdp.a     - DP library file

SEE ALSO
     dppause(3DP), dpblock(3DP), dpunblock(3DP)





Essential DP MAN Pages:

General/Essential:


Non-Interrupting Messages:


Interrupting Messages:
  • dpblock
  • dpcatchmsg
  • dpgetmsg
  • dppause
  • dpunblock

    Other:
    Return to DP For Students Return to The DP Project Return to David Arnow's Home Page