[Psi-devel] new systemwatch_unix
Michał Jazłowiecki
michalj at poczta.neostrada.pl
Tue Jul 3 13:44:45 PDT 2007
textshell wrote:
> This patch is a nice stopgap for now, but I'd rather not have custom
> signals for this in psi in the long term. I hope for 0.12 there will be
> enough DBus infrastructure in place in psi to implement it one way or
> the other with DBus.
What about Unices other than Linux? *BSD systems and Solaris for
example. There are quite a few Psi users running those systems. I
believe (please correct me, if I'm wrong) that those systems do not
provide DBus infrastructure (and its development is way behind the one
on Linux), but still take advantage of signals (AFAIR, some signals were
renamed on Solaris, like SIGUSR_1 and SIGUSR_2, with underscore and
SIGPOWER instead of SIGPWR).
I would prefer Psi to implement one way to support power events on all
Unices (that we officially and semi-officially support) than to create
Linux-only implementation, then another FreeBSD-only implementation, and
another Solaris-specific implementation, and NetBSD-specific... (yes, I
do exaggerate now, but you know what I mean). Maybe it's better to
implement a generic "work everywhere" solution and try to detect whether
a better solution is available.
Regards,
--
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator
More information about the psi-devel
mailing list