ec_shutdown_ex

March 26, 2020 Contributors

Name

ec_is_shutting_down — Initiates a shutdown of the ecelerity process

Synopsis

#include "control.h"

| void **ec_shutdown_ex** ( | die, |   |
|   | ret, |   |
|   | file, |   |
|   | lineno); |   |

int <var class="pdparam">die</var>;
int <var class="pdparam">ret</var>;
const char * <var class="pdparam">file</var>;
int <var class="pdparam">lineno</var>;

Description

Initiates a shutdown of the ecelerity process.

Parameters

die

Passing a non-zero integer value for die indicates that this function was invoked from a signal handler.

ret

The value that will be passed to the system exit() function.

file

The filename that invoked the call.

lineno

The line number of the file that invoked the call.

Return Values

This function returns void.

Threading

This function may only be called in the Scheduler thread.

See Also

ec_is_shutting_down.