in reply to Net::DBus and threads
Self answer:
The bus ($bus = Net::DBus->session()) actually re-uses an internal shared bus connection in libdbus.so. This does not fit well in Perl's threads, but there is the possibility to ask for a private bus by passing the option private => 1.
That way, as long as the objects are not shared (I have not tried that) it is possible to have one working bus connection per thread.
|
|---|