Garrett D'Amore wrote: > 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?
Nothing, except that having more of these signals may be usefull. > 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. AFAIK there aren't many choices for other _simple_ APIs (in the context of the original proposal to get status information via |SIGINFO| from "dd") to alter the behaviour of a running application, right ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code