In message <9b84274f050929034642084d93 / mail.gmail.com>, Daniel Lewis <danieljohnlewis / gmail.com> writes >Deadlocks are usually to do with the OS. Maybe Tk can't cope with >threads. Have you tried this in other Graphical Toolkits, WxRuby is >quite nice and GTK seems quite good. I haven't tried other GUI toolkits (I wasn't particularly aware of them - the PickAxe book talks about Tk). The equivalent code with Python and Tk runs just fine. Stephen -- Stephen Kellett Object Media Limited http://www.objmedia.demon.co.uk/software.html Computer Consultancy, Software Development Windows C++, Java, Assembler, Performance Analysis, Troubleshooting