Tivoli Header

Tivoli Storage Manager Using the Application Program Interface


Using Signals

The application handles signals from the user or the operating system. If the user enters a ctrl-c, the application should catch the signal and send dsmTerminate calls for each of the active threads. Then, call dsmCleanUp to exit. Failure to do this might result in unexpected results on the server if sessions are not closed properly.

Note:
We recommend that the application install signal handlers such as, SIGPIPE and SIGUSR1, for signals that cause the application to end. The application then receives the return code from the API.

You can use the the child process, Trusted Communication Agent (TCA) if passwordaccess is set to generate. When the TCA is used, TSM uses the SIGCLD signal. If you want your application to use the SIGCLD signal, be aware of potential interference from the TSM program and how it uses SIGCLD. See "Session Security" for more information about using the TCA.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]