Roku PhotoBridge Programming: Patterns and Pitfallsfrequal.com

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 23 Nov 2006 by AO

Copyright © 2024 Andrew Oliver