July 2, 2007
View 7fc49b5

- timer_del() returns now an int: 0 on success and <0 on error (e.g. timer already deleted or expired, or an attempt to self-delete from a timer handler) - added macros for ticks_t comparisons: TICKS_GTi(t1, t2), TICKS_GE(t1, t2), TICKS_LT (t1, t2) and TICKS_LE (t1, t2) - updated timer docs

Andrei Pelinescu-Onciul authored on 02/07/2007 15:27:39
February 1, 2007
View ef9e386

- ticks_t move in timer_ticks.h - tcpconn_get() exported (tls needs it)

Andrei Pelinescu-Onciul authored on 01/02/2007 04:34:32
December 12, 2005
View 0f283a6

- shoot-yourself-in-the-foot bug reporting and workarround (time_del(self) in a timer handle) - added timer_allow_del() - use with care - updated timer docs - tm: uses timer_allow_del() in fr (as a safeguard)

Andrei Pelinescu-Onciul authored on 12/12/2005 20:27:16
December 5, 2005
View af93cbd

New timer interface: - allows adding timers dynamically - supports one shot and periodic timers - precise - allows timeouts < 0.5 s (depends on the config., by default min. timeout = 62.5 ms) - based on a 3 level hierarchical timing wheel - very fast - low overhead for timer functions (most of the time, the excetion is timer_del which take can take quite a long time in special situations) - supports "slow" timers (compile option, by default on), "slow" timer = a timer handler which is declared as possible taking a long timer to execute. - backward compatible: old timer functions are preserverd => no changes needed for the existing code (although migration to the new interface is recommended) For more information read doc/timers.txt. tm timer update will follow shortly (this week).

Andrei Pelinescu-Onciul authored on 05/12/2005 18:29:30
August 24, 2004
View 53c7e0f

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
January 20, 2003
View 8aeb47e

- more tcp stuff (uses locking.h, hashtables, mostly untested) - main exit cleanups (created cleanup(show_status() function that should prepare ser for exiting: dellocate everything, free sems a.s.o).

Andrei Pelinescu-Onciul authored on 20/01/2003 18:35:09
September 19, 2002
View 7dd0b34

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52
December 10, 2001
View d4f2d8b

- fixed timer get_ticks bug - fixed make modules (no longer tries to build depends for the ser core)

Andrei Pelinescu-Onciul authored on 10/12/2001 16:11:42
December 6, 2001
View b902c38

- added get_ticks

Andrei Pelinescu-Onciul authored on 06/12/2001 18:32:54
View cd57180

- added some kind of primitive timer interface in core ser

Andrei Pelinescu-Onciul authored on 06/12/2001 18:28:30