Roku PhotoBridge Programming: Patterns and Pitfallsfrequal.com
Signal Handling

Signal Handling

[TODO: remove Log ref]

When a Roku application exits, it is sometimes necessary to do cleanup, especially if the video scaler is involved. It is best to catch all fatal signals and have a shared cleanup routine.

  if (signal(SIGABRT, sigSafeExitHandler) == SIG_ERR) {
    Log::write("Unable to set up SIGABRT handler");
  }

Last modified on Novemeber 23, 2006 by AO

Copyright © 2006 Andrew Oliver