summaryrefslogtreecommitdiff
path: root/core/include/thread.h
Commit message (Collapse)AuthorAgeFilesLines
* core: thread: add a "timeouts" pointer to the thread structureH. Peter Anvin2009-09-091-0/+3
| | | | | | | | Add a "timeouts" pointer to the thread structure; this is a private per-thread pointer for the benefit of lwIP. This is ad hoc, but a lot easier than implementing TLS. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: thread: move most thread state to stack; task switch errnoH. Peter Anvin2009-09-091-5/+1
| | | | | | | Move most our thread state to the stack. Task switch the errno variable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: thread: have start_thread() allocate memory dynamicallyH. Peter Anvin2009-09-091-2/+2
| | | | | | | | Have start_thread() allocate memory dynamically, using malloc(). XXX: should probably free that memory in __exit_thread()... could be "interesting". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: simple thread libraryH. Peter Anvin2009-09-081-0/+84
Simple thread library with the intent of making lwIP easier to port. Signed-off-by: H. Peter Anvin <hpa@zytor.com>