Minor nit: get p pointer in msleep() from td->td_proc (where td == curthread) rather than from curproc.
Minor nit: get p pointer in msleep() from td->td_proc (where
td == curthread) rather than from curproc.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase