Commit Graph

2 Commits (bfa9992c7dc71a9af75458e7dc0c06aad71547d9)

Author SHA1 Message Date
Russ Butler bfa9992c7d Refactor AsyncOp class
Add the OperationList class to simplify managing async operations.
Add a callback to the AsyncOp class so completion can be signaled with
another mechanism. Finally rework the lock handling so AsyncOp::wait
is passed the lock to use rather than taking it in a constructor.
2019-01-29 12:27:27 -06:00
Russ Butler a6c249b223 Add USB utility classes
Add an allocation free linked list implementation. Additionally add
the class AsyncOp which provides blocking and wakeup funcionality
to simplify making asynchronous operations block.
2019-01-29 12:27:22 -06:00