aboutsummaryrefslogtreecommitdiff
path: root/task.h
AgeCommit message (Collapse)Author
2018-04-19Reconstruct the hashsig hash tree(s) on device restart.Paul Selkirk
This can take long enough (several minutes for h=10) that we do it in a background task, which is then converted to an RPC dispatch task. Also add a very limited form of free(), to free the topmost allocation in the sdram "heap". I don't want to deal with real heap management, but I do want to be able to recover memory upon deleting a hashsig key, if it's easy to do so.
2017-04-30Need stdint.h if we're going to use uint32_t.Rob Austein
2017-04-29Add minimal mutexes to the minimal tasking systemPaul Selkirk
2017-04-29Add task_delay.Paul Selkirk
2017-04-27Replace the RTOS with a simple cooperative tasker.Paul Selkirk
There are no priorities and no preemption, so tasks run in a round-robin fashion, and explicitly yield control.