The Starbase input daemon is started whenever tracking or event monitoring is enabled. When tracking and event monitoring are turned off or when the output device is closed, Starbase terminates the daemon, using this process:
1.Set the SIGCHLD action to SIG_DFL, saving the old action.
2.Send a message to the input daemon asking it to terminate.
3.Call waitpid(2) to wait for the daemon's death.
4.Restore the saved SIGCHLD action.
In a Starbase application using tracking or events, a
Possible consequences of violating this restriction are the same as those listed above for the grmd daemon.
SIGPIPE DetailsThe graphics libraries start a daemon process and communicate with that process via sockets in two situations:
•For hardware texture mapping on an hp
•For
When starting either of these daemons, the graphics library permanently sets the SIGPIPE action to SIG_IGN. This prevents the terminating SIGPIPE signal from being delivered to the process should the daemon die abnormally.
If your application changes the SIGPIPE action to SIG_DFL or to a specific handler, an abnormal death of either timd or phg_daemon will result in a SIGPIPE signal being delivered to the process when the graphics library next attempts to communicate with the daemon. If the action is SIG_DFL, the process will terminate.
Gamma CorrectionGamma correction is used to alter hardware colormaps to compensate for the
Page 118 | Graphics Administration Guide for |