summaryrefslogtreecommitdiffstats
path: root/include/libtf/heap.h
Commit message (Collapse)AuthorAgeFilesLines
* mem: add mmap allocatorTimo Teras2010-03-101-1/+2
| | | | use it for heaps and fiber stacks.
* libtf: separate scheduler fibre, change the core apiTimo Teras2010-03-101-0/+10
|
* libtf: stackable timeoutsTimo Teras2009-11-261-0/+6
| | | | | | | instead of having per-function argument, use a push/pop mechanism: - multiple timers inside fiber use only one heap entry - easy to chain multiple possibly blocking operations inside one timeout block
* libtf: implement timeoutsTimo Teras2009-11-241-0/+71
internally put sleepers to d-ary heap based priority queue. the heap value is compared with overflow.