[Psi-devel] new systemwatch_unix

emdej emdej at emdej.com
Tue Jul 3 05:32:05 PDT 2007


Hi.
I wrote SystemWatch for unix class, which enables posibility of 
disconnecting on hibernate with standard unix signals. I'm now sure how 
standard behaviour it is, but it doesn't conflict with rest of the 
system. I decided to use SIGUSR1 (user-defined signal 1) and 
SIGPWR(power failure) on suspend and SIGUSR2 (user-defined signal 1), 
SIGIO (I/O now possible) and SIGURG (high bandwidth data is available) 
on resume.

Regards,

-- 

Marek Jarycki (emdej)
Wroclaw University of Technology
website: www.emdej.com
JID: emdej at jabber.autocom.pl
mobile: +48693649623

-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemwatch_unix.cpp
Type: text/x-c++src
Size: 1418 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070703/0541a68d/attachment.cpp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemwatch_unix.h
Type: text/x-chdr
Size: 1130 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070703/0541a68d/attachment.h 


More information about the psi-devel mailing list