<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I am trying to write an external that uses glut.  But I have hit a stumbling block. I am not able to use <FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">glutMainLoop without entering into some king of cpu sucking vortex that halts all Pd functions.  I know this is a problem with the way Pd/tkl handles events.  Has anyone figure out a simple way around this?  I tried to look at the Gem source code but there is too much going on in there for me to get a simple solution.  Is there a straight forward solution out there?</SPAN></FONT><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"></SPAN></FONT><BR class="khtml-block-placeholder"><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">Thanks,</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">Alain</SPAN></FONT></DIV></DIV></BODY></HTML>