uhub/src/adc
Jan Vidar Krey 59ed268f4d Added test cases for sid allocation.
This revealed a few bugs:
* when sid allocator is full, then uhub will loop indefinitely when allocating one more (unlikely to occur).
* looking up a user object based on a sid that is out of range (off by one) returns invalid memory.
2010-02-18 16:02:13 +01:00
..
adcconst.h Reorganized sources slightly. 2009-07-25 20:05:27 +02:00
message.c Cleanup reference adc message reference counting somewhat. 2010-02-16 20:51:10 +01:00
message.h Added lots of new asserts which should trigger in case we double delete a ADC message. 2010-02-15 19:03:19 +01:00
sid.c Added test cases for sid allocation. 2010-02-18 16:02:13 +01:00
sid.h Fix bug #3, sid allocation overflow. May lead to double SIDs being given out. 2009-08-02 21:04:10 +02:00