Add post-and-poke synchronization to parlib
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 9 Aug 2015 19:59:36 +0000 (15:59 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commitd67a9423f8a9e81c3802b2484672fc12d341527b
treecb78c3c21541bea2292c88d86dcb9b4b9e0f2cbf
parent170a9a8a192e080c2e22bc0379f58dc8196e0e86
Add post-and-poke synchronization to parlib

Adapted from the kernel's version.  You can use this in any user
context; no one ever actually waits on someone else.
user/parlib/include/poke.h [new file with mode: 0644]
user/parlib/poke.c [new file with mode: 0644]