Henrik Hautakoski
|
896c356d00
|
test/t_queue.c: rewritten, catches bug in dequeue.
|
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
|
2e2d6c7eee
|
use stdlib.h instead of malloc.h
|
2011-01-13 15:36:58 +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 |
|
Henrik Hautakoski
|
ed428f20c9
|
queue: fixed API function name to follow spec.
|
2010-10-22 13:59:12 +02:00 |
|
H Hautakoski
|
c967a59706
|
queue: changed the ADT abit.
|
2010-10-22 13:59:08 +02:00 |
|
H Hautakoski
|
1ce3172734
|
better test for queue
|
2010-10-22 13:59:08 +02:00 |
|
H Hautakoski
|
073c210814
|
Moving some files and cleaning up.
|
2010-10-22 13:59:08 +02:00 |
|
H Hautakoski
|
3b91895093
|
first hack at the event queue.
|
2010-10-22 13:59:07 +02:00 |
|