Name : perl-AnyEvent-DBus
| |
Version : 0.31
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 7.72
| Date : 2024-08-05 20:59:14
|
Group : Development/Libraries/Perl
| Source RPM : perl-AnyEvent-DBus-0.31-7.72.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Adapt Net::DBus to AnyEvent
|
Description :
This module is an AnyEvent user, you need to make sure that you use and run a supported event loop.
Loading this module will install the necessary magic to seamlessly integrate Net::DBus into AnyEvent. It does this by quite brutally hacking Net::DBus::Reactor so that all dbus connections created after loading this module will automatically be managed by this module.
Note that a) a lot inside Net::DBus is still blocking b) if you call a method that blocks, you again block your process (basically anything but calls to the Net::DBus::Binding::Connection objects block, but see Net::DBus::Annoation, specifically dbus_call_async) c) the underlying libdbus is often blocking itself, even with infinite timeouts and d) this module only implements the minimum API required to make Net::DBus work - Net::DBus unfortunately has no nice hooking API.
However, unlike Net::DBus::Reactor, this module should be fully non-blocking as long as you only use non-blocking APIs (Net::DBus::Reactor blocks on writes). It should also be faster, but Net::DBus is such a morass so unneeded method calls that speed won\'t matter much...
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch |