path: root/test/read.c
Commit message (Collapse)AuthorAgeFilesLines
* libtf: major redesign startedHEADmasterTimo Teräs2010-07-021-4/+4
| | | | | | | | | | 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 ;)
* libtf: fix stack frame creation and valgrind issuesTimo Teras2010-03-101-2/+2
| | | | | debugging looks now better. there was also some valgrind issues that needed attention.
* libtf: separate scheduler fibre, change the core apiTimo Teras2010-03-101-7/+4
* libtf: stackable timeoutsTimo Teras2009-11-261-1/+1
| | | | | | | 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 basic networking i/oTimo Teras2009-11-251-2/+2
| | | | | pretty much untested. also some slight changes to how scheduler is invoked.
* libtf: implement basic file i/o with epollTimo Teras2009-11-251-0/+44
some scetching of i/o api, and implement basic read and write functionality. integrate polling to scheduler and an epoll based polling mechanism.