[Splashy-devel] handling signals

Luis M lemsx1 at gmail.com
Sun Mar 19 17:10:21 UTC 2006


Hello all,

I've added signal handlers to splashy main thread. Now it updates the
progressbar by 1 tick if a USR1 signal is sent, and by 10 ticks if a
USR2 signal is sent. This means that it's possible to update the
progressbar completely from splashy-init without having to write to
the fifo.

The fifo file is not going away, so, don't be alarmed. The reason I
added this to be able to update the progressbar from initramfs and
other read-only filesystems.

Now we only need to handle HUP signals correctly, so that splashy
re-reads the fifo from the new root (pivot_root) after init starts and
initrd's root tree gets moved to some other structure. I'm open to new
ideas if you guys have a better way of handling the change of root
tree...

--
----)(-----
Luis Mondesi
System Administrator
Kiskeyix.org

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html


More information about the Splashy-devel mailing list