Function TRITONSERVER_ServerOptionsSetExitOnError

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerOptionsSetExitOnError(TRITONSERVER_ServerOptions *options, bool exit)

Enable or disable exit-on-error in a server options.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • exit: True to enable exiting on intialization error, false to continue.