Print statements.

Your call to threadexitsall(0) at the end of
threadmain is wrong.  It should be threadexits().
Threadexitsall makes all the procs exit, which
is not what you want.  Calling threadexits will
cause the threadmain thread to exit, and since
that is the only thread in the main proc, the 
main proc will exit, leaving the rest in the background.

Russ

Reply via email to