Replaced semaphores for comm primitives with suspension of interrupts to match the
shim code.