sys_trywait() now blocks
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Mar 2012 20:01:15 +0000 (13:01 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Mar 2012 20:01:15 +0000 (13:01 -0700)
commitda1a20779837e7a388b6e36c01cf6c348e016edc
treeeb1bbb75722768169c8e562f519aff1ea10469dd
parent4ec85263e52e39b87063e00531287227b5f32d8e
sys_trywait() now blocks

We actually need a real wait/waitpid() call, which will also allow us to
cleanup glibc's waitpid() and fork() calls.  For now, this will allow us
to have bb block on its children, instead of spinning.
kern/include/env.h
kern/src/process.c
kern/src/syscall.c