summaryrefslogtreecommitdiffstats
path: root/src/TFbuild
Commit message (Collapse)AuthorAgeFilesLines
* libtf: major redesign startedHEADmasterTimo Teräs2010-07-021-1/+1
| | | | | | | | | | the idea is to make libtf completely multi-threaded. meaning each fiber can be running concurrently in separate thread. quite a bit of framework is added for this and some atomic helpers are already introduced. however, io polling is busy polling now (will be soon in own thread) and timeouts are still more or less broken. oh, and the multithreading core is not there yet. basically we are currently mostly broken ;)
* mem: add mmap allocatorTimo Teras2010-03-101-1/+1
| | | | use it for heaps and fiber stacks.
* io: virtualize polling apiTimo Teras2010-03-101-0/+1
| | | | so we can in future have more polling frameworks than epoll.
* libtf: separate scheduler fibre, change the core apiTimo Teras2010-03-101-1/+2
|
* libtf: implement basic file i/o with epollTimo Teras2009-11-251-1/+1
| | | | | | some scetching of i/o api, and implement basic read and write functionality. integrate polling to scheduler and an epoll based polling mechanism.
* libtf: implement timeoutsTimo Teras2009-11-241-2/+2
| | | | | internally put sleepers to d-ary heap based priority queue. the heap value is compared with overflow.
* libtf: initial commitTimo Teras2009-11-241-0/+5
libtf is to be user-space cooperative threading library similar to State Threads (http://state-threads.sourceforge.net/), but with additional support for multiple cores, using better algorithms and taking advantage of new Linux kernel syscalls such as eventfd, signalfd and epoll (edge-triggered mode). Initial implementation has setjmp based user-space context switching and trivial testcase. Works on Linux/x86. TFbuild uses ideas from different build systems, namely Kbuild, but it's inner workings are quite different. All build files are included (using macro trickery) instead of recursive making. Thus the build dependency graph is complete and should yield good make performance. Also parallel stuff should work.