Roland Mainz wrote:
Frank Van Der Linden wrote:
On a recent thread on request-sponsor
(http://www.opensolaris.org/jive/thread.jspa?threadID=27721&tstart=0),
an RFE was made to add status support to dd(1), using the USR1 signal.
It was noted that the original functionality to provide this was via the
VSTATUS character (ctrl-t by default), from BSD, and originally
appearing in SunOS 4.x, too.
James Carlson pointed to a CR that he filed a while ago (6310532) to
bring back SIGINFO support,
If you implement it it would be nice to implement something like
"SIGINFO1" and "SIGINFO2" (with "SIGINFO" aliased to "SIGINFO1") to have
more than one signal which can be used by applications for such purposes
(for example for "normal" and "verbose" output or to "enable" and
"disable" some functionlity).
What is wrong with SIGUSR1 for this kind of functionality?
Anyway, I thought it was pretty widely understood that using signals for
IPC was generally a bad idea... with all the problems inherent in
writing safe signal handlers, it seems like maybe we shouldn't be
encouraging them to spread even more.
-- Garrett
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code