[httperf] Generic queue data structure committed

Ted Bullock tbullock at canada.com
Sun Jul 15 22:29:11 PDT 2007


There are couple areas in httperf that could really benefit from some
code-reuse with regards to the queue data structure, (timers, sessions,
bursts, etc).  So I just contributed one into CVS.

It's in src/lib/queue.{c,h} and is currently implemented as a
dynamically allocated bounded FIFO queue.

This takes advantage of the c99 flexible array member feature available
in most modern compilers.

Thoughts are welcome.

-Ted

-- 
Theodore Bullock, <tbullock at canada.com, tedbullock at gmail.com>
B.Sc Software Engineering
Bike Across Canada Adventure http://www.comlore.com/bike


More information about the httperf mailing list