Subject: ITIMER Implimentation???
From: [email-masked] (Chris Warren)

3 Dec 1996 12:58:20 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)
Original-To: [email-masked]
Original-Sender: [email-masked]

Have this code in a program I am trying to port (CircleMUD 3.0)... Only
one peice of code doesn't work....

  struct itimerval itime;

  interval.tv_sec = 180;
  interval.tv_usec = 0;
  itime.it_interval = interval;
  itime.it_value = interval;
  setitimer(ITIMER_VIRTUAL, &itime, NULL);
  my_signal(SIGVTALRM, checkpointing);

struct itimerval is not known nor are ITIMER_VIRTUAL, SIGVTALRM and
setitimer.

Anybody know of a way round this???

Thanks,
Chris
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".