DBus - problem with loop listening for signals
Original Reporter info from Mantis: Dibo
-
Reporter name: Krzysztof Dibowski
Original Reporter info from Mantis: Dibo
- Reporter name: Krzysztof Dibowski
Description:
Hi,
Always when I wanted listen for signals I used threads for this. But (probably) after this upgrade:
http://bugs.freepascal.org/view.php?id=14086
... signals no longer work with threads (DBus connection can't hear any signal). What's more, I tried with TTimer event but this same problem occurs. Only internal loop work (like in dbus demo project -> procedure BusReceive -> while true...) but this block main loop and user interface. I'm not Application.ProcessMessages solution fan. What is reason of this?
Regards
P.S. If needed I can prepare some demo.
Steps to reproduce:
Ubuntu 10.10 64 bit, GNOME GTK 2
Lazarus 0.9.29 from SVN, revision 28558
FPC 2.5.1 from SVN, revision 101129
Mantis conversion info:
- Mantis ID: 18117
- Version: 2.5.1