| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Make mbox_fetch() actually return the time spent waiting.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Move most our thread state to the stack. Task switch the errno
variable.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Merge mbox_post() and mbox_trypost() into a single function with a
timeout parameter.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
A very simple mailbox library, designed for lwIP porting.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Implement a "trywait" option... if timeout is set to -1, then timeout
immediately if the semaphore isn't available.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
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>
|
|
|
Simple thread library with the intent of making lwIP easier to port.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|