Henrik Hautakoski
|
4440831f19
|
queue.c: fixed bug where dequeue returns a invalid pointer.
|
2011-01-27 17:38:54 +01:00 |
|
Henrik Hautakoski
|
f973e29668
|
src/queue.c: don't deallocate the last block when queue becomes empty.
always keep one block in the queue so that in situations when the queue becomes empty
frequently. performance dosent blow up by calls to malloc/free.
|
2011-01-13 15:37:00 +01:00 |
|
Henrik Hautakoski
|
ce520fc35b
|
src/queue.c: minor stuff. uint16_t -> unsigned int and a NULL check.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
463d432104
|
src/queue.c: use xalloc.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
4a2665004e
|
queue.c: remove queue_clear.
client code knows what objects is stored in the queue
and its only 3 lines to do a simple free() on the items.
|
2010-11-10 08:45:44 +01:00 |
|
Henrik Hautakoski
|
22d7238b36
|
moving src/notify to src/
|
2010-10-19 11:25:24 +02:00 |
|