Code:
new proc 0 0 proc; sleep 0.5; proc period 0.4; sleep 4; proc period 0.