aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2013-11-14 15:16:16 +1100
committerNeilBrown <[email protected]>2013-11-14 15:16:16 +1100
commit82e06c811163c4d853ed335d56c3378088bc89cc (patch)
tree83ca8da3fcda9ebb1ec6ce5bb275533d8d4bd952 /lib/mpi/mpi-cmp.c
parentba8805b97320416e7c5bb8f55d2bd06d5c319e7d (diff)
wait: add wait_event_cmd()
Add a new API wait_event_cmd(). It's a variant of wait_even() with two commands executed. One is executed before sleep, another after sleep. Modified to match use wait.h approach based on suggestion by Peter Zijlstra <[email protected]> - neilb Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions