<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jun 11, 2013, at 6:20 PM, Paul Sajna <<a href="mailto:sajattack@gmail.com">sajattack@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" style="font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I continue to use threads because my application uses a GUI that becomes blocked when the server starts. Also, I am now having a problem where port is undefined until the server is stopped and started again.</div></blockquote></div><br><div>Paul,</div><div><br></div><div>Until you stop using threads in this manner, you are using threads in a totally unsupported way and Twisted will be broken.</div><div><br></div><div>Twisted supports most GUIs directly though; there is generally no need to use threads.  What GUI library are you using?</div><div><br></div><div>-glyph</div><div><br></div></body></html>