scsh-users
[Top] [All Lists]

help about hanging when run

To: scsh@zurich.csail.mit.edu
Subject: help about hanging when run
From: ZHAO Wei <zhaoway@public1.ptt.js.cn>
Date: Sat, 01 Nov 2003 10:04:47 +0800
Hi!

I have a little script < 100 lines of code. There I spawn a thread every awhile. In the thread I call a (run ...). I have put (display ...) before and after the (run ...) for debugging purpose.

The first time a thread being spawned, everything is O.K. The (run ...) is being run and (I think) the thread exitted as expected.

Then after awhile, the second thread is spawned, the after the first (display ...), the program hang. Never can I see the second (display ...).

Is there any clue so I can debug it or any gotcha's I should notice? Thank you!

--
zhaoway@public1.ptt.js.cn
http://c2.com/cgi/wiki?ZhaoWay
http://advogato.org/person/zhaoway/
linux.ext2fs.tcp.ip.netfilter.gnu.debian.dpkg.rpm.bash.lex
yacc.gcc.lisp.scheme.ocaml.latex.html.css.php.apache.mysql


<Prev in Thread] Current Thread [Next in Thread>