Function rc_set_state#

Function Documentation#

void rc_set_state(rc_state_t new_state)#

sets the current process state.

Except for the signal handler setting the state to EXITING, this is the only way that the process state can be changed.

Parameters:

new_state[in] The new state