Right now, in xterm 3, if I do:<br><br>(define x (make-thread ...some code to throw an error...))<br>(thread-start! x) ; a new xterm window pops up<br>(thread-terminate! x)<br><br>now, my new xterm window is useless, however it still sticks around -- is there a way to have that xterm window auto vanish on the thread being killed?<br>
<br>[I'm not quite seeing an ibvious way to do this.[<br><br>Thanks!<br><br><div class="gmail_quote">On Fri, Jun 19, 2009 at 10:10 AM, lowly coder <span dir="ltr"><<a href="mailto:lowlycoder@huoyanjinjing.com">lowlycoder@huoyanjinjing.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Confirming that everything appears to wotk using git repo's latest Gambit.<div><div></div>
<div class="h5"><br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 10:36 AM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><br>
On 17-Jun-09, at 6:29 PM, Marc Feeley wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 17-Jun-09, at 4:08 PM, lowly coder wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
~$ uname -a<br>
Linux x 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 x86_64<br>
GNU/Linux<br>
<br>
~$ gsi -v<br>
v4.4.2 20090315000833 x86_64-unknown-linux-gnu<br>
<br>
(Ubuntu Linux)<br>
<br>
I didn't make any changes ... I just followed the README file.<br>
</blockquote>
<br>
It seems that there is a problem with the procedure tcp-client-peer-<br>
socket-info on Linux.  In the remote debugging code this is only used<br>
for synchronization (to make sure the xterm has started before sending<br>
it stuff to display).<br>
<br>
Here's how to fix debugger.scm:<br>
<br>
1) remove the call (tcp-client-peer-socket-info port)<br>
<br>
2) before the first (let loop () ...  insert (thread-sleep! 2)<br>
<br>
Marc<br>
</blockquote>
<br></div></div>
Indeed this problem only happens on Linux.  A patch which fixes this problem has been committed to the repository.  You should be able to run the original code on Linux now.<br><font color="#888888">
<br>
Marc<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>