Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 11:24:31 -0800 (PST)
From:      Brian Somers <brian@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/usr.sbin/ppp bundle.c timer.c timer.h
Message-ID:  <199812141924.LAA08819@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       1998/12/14 11:24:30 PST

  Modified files:
    usr.sbin/ppp         bundle.c timer.c timer.h 
  Log:
  Rather than interrupting 10 times per second then checking
  to see if there's anything to do, schedule the next alarm
  based on the next required timeout.
  This decreases the load when there are lots of relatively
  idle ppp processes.
  
  While I'm in there, handle the possibility that a timeout
  makes the timer element go out of scope by grabbing the
  enext pointer before executing the timer function.
  
  Revision  Changes    Path
  1.42      +2 -2      src/usr.sbin/ppp/bundle.c
  1.32      +41 -44    src/usr.sbin/ppp/timer.c
  1.8       +2 -2      src/usr.sbin/ppp/timer.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812141924.LAA08819>