main:
	SPAWN  waitThread, q0
	MAPQC  q1, q0, q0
	PROCID q1
	MOVE   q4, q10
	PRINTQ q10
	PRINTS "I got run time"
	HALT

waitThread:
	MAPQC  q1, q4, q0
	PRINTS "locking thread started"
	MOVECL 2, q1		; allow the parent thread to unblock
loop:	
	BR     loop		; lock this thread
	HALT
	
