Deleted Added
full compact
ev_timers.c (156956) ev_timers.c (170244)
1/*
2 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (c) 1995-1999 by Internet Software Consortium
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 6 unchanged lines hidden (view full) ---

15 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* ev_timers.c - implement timers for the eventlib
19 * vix 09sep95 [initial]
20 */
21
22#if !defined(LINT) && !defined(CODECENTER)
1/*
2 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (c) 1995-1999 by Internet Software Consortium
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 6 unchanged lines hidden (view full) ---

15 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* ev_timers.c - implement timers for the eventlib
19 * vix 09sep95 [initial]
20 */
21
22#if !defined(LINT) && !defined(CODECENTER)
23static const char rcsid[] = "$Id: ev_timers.c,v 1.2.2.1.4.5 2004/03/17 02:39:13 marka Exp $";
23static const char rcsid[] = "$Id: ev_timers.c,v 1.5.18.1 2005/04/27 05:01:06 sra Exp $";
24#endif
25#include <sys/cdefs.h>
24#endif
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/lib/libc/isc/ev_timers.c 156956 2006-03-21 15:37:16Z ume $");
26__FBSDID("$FreeBSD: head/lib/libc/isc/ev_timers.c 170244 2007-06-03 17:20:27Z ume $");
27
28/* Import. */
29
30#include "port_before.h"
31#ifndef _LIBC
32#include "fd_setsize.h"
33#endif
34

--- 471 unchanged lines hidden (view full) ---

506 this->timer->inter = evConsTime(0, 0);
507 FREE(this);
508 } else {
509 /* evDrop() will reschedule the timer. */
510 this->timer->inter = evSubTime(this->max_idle, idle);
511 }
512}
513#endif
27
28/* Import. */
29
30#include "port_before.h"
31#ifndef _LIBC
32#include "fd_setsize.h"
33#endif
34

--- 471 unchanged lines hidden (view full) ---

506 this->timer->inter = evConsTime(0, 0);
507 FREE(this);
508 } else {
509 /* evDrop() will reschedule the timer. */
510 this->timer->inter = evSubTime(this->max_idle, idle);
511 }
512}
513#endif
514
515/*! \file */