From: Matthieu Riou Date: 2007-12-13T10:27:11+09:00 Subject: Korundum and threads ------=_Part_42455_17953074.1197509232259 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm trying to write a small daemon that would display a tray icon in the KDE task bar. The icon parts works perfectly well but starting the execution of the KDE application blocks all other threads. For example if I do something like: Thread.new { print "."; sleep(0.5) } app = KDE::Application.new tray = TrayHandler.new tray.show app.exec Then the thread I started first gets stopped. I'm guessing there's a native call here that doesn't play well with Ruby green threads but is there a way to ask the Application to run in the background without disrupting the execution of other threads? Thanks! Matthieu ------=_Part_42455_17953074.1197509232259--