M
Matthieu Riou
[Note: parts of this message were removed to make it a legal post.]
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
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