openafs/tests/volser
Simon Wilkinson 043c31bf8d rx: Use a red black tree for the event stack
Instead of the current event stack, which uses a sorted linked
list, use a red/black tree to maintain the timer stack. This
dramatically improves event insertion times, at the expense of
some additional implementation complexity.

This change also adds reference counting to the rxevent
structure. We've always had a race between an event being
fired, and that event being simultaneously cancelled by
the user thread. Reference counting avoids that race resulting
in the structure appearing twice in the free list.

Change-Id: Icbef6e04e01f3eef5b888bc3cb77b7a3d1be26ae
Reviewed-on: http://gerrit.openafs.org/5841
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2011-11-29 12:29:41 -08:00
..
.gitignore tests: Add tests for the vlserver 2011-07-17 22:26:15 -07:00
Makefile.in rx: Use a red black tree for the event stack 2011-11-29 12:29:41 -08:00
vos-man-t Introduce TAP tests of man pages for command_subcommand 2011-06-28 12:52:28 -07:00
vos-t.c tests: Add tests for the vlserver 2011-07-17 22:26:15 -07:00