; man pause
SLEEP(1)
NAMEsleep, pause - suspend execution for an interval
SYNOPSISsleep n
pause
DESCRIPTIONSleep suspends its own execution for n seconds before returning.
Pause never returns, and is typically used to stop a command interpreter reading any more from the standard input.
SOURCE/appl/cmd/sleep.b /appl/cmd/pause.b
SEE ALSOsys-sleep(2)
Inferno Manual
; disdump /dis/pause.dis
newcw , $0, 44(fp)
recv 44(fp), 40(fp)
movp 0(mp), 44(fp)
ret
;
newcx - Allocate channel
Syntax: newcw dst newcb dst newcl dst newcf dst newcp dst newcm src, dst newcmp src, dst Function: dst = new(Channel)
The newc instruction allocates a new channel of the specified type and stores a reference to the channel in dst. For the newcm instruction the source specifies the number of bytes of memory used by values sent on the channel (see the movm instruction above). For the newcmp instruction the first operand specifies a type descriptor giving the length of the structure and the location of pointers within the structure (see the movmp instruction above).
recv - Receive from channel
Syntax: recv src, dst Function: dst = <-src
The recv instruction receives a value from some other thread on the channel specified by the src operand. Communication is synchronous, so the calling thread will block until a corresponding send or alt is performed on the channel. The type of the received value is determined by the channel type and the dst operand specifies where to place the received value.
movp - Move pointer
Syntax: movp src, dst Function: destroy(dst) dst = src incref(src)
The movp instruction copies a pointer adjusting the reference counts to reflect the new pointers.
*1 http://www.vitanuova.com/inferno/papers/descent.html
*2 Dis Virtual Machine Specification http://www.vitanuova.com/inferno/papers/dis.html