Added completion data structure
authorDavide Libenzi <dlibenzi@google.com>
Sun, 8 Nov 2015 19:25:39 +0000 (11:25 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Nov 2015 20:38:22 +0000 (15:38 -0500)
commitb69479bbcfabe937784fdfa1b508cfc810eca7a6
tree0a25b84d3b1fddc0284f7e811c57c09ce4cae716
parentaecd50eb71c26bf64cd86338854bfb05a54e6f79
Added completion data structure

Added completion data structure. It allows waiters to be woken up once
the given number of complete operations have been issued.

Signed-off-by: Davide Libenzi <dlibenzi@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/completion.h [new file with mode: 0644]
kern/src/Kbuild
kern/src/completion.c [new file with mode: 0644]