The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Implementation of the unlang "parallel" keyword. More...
#include "function.h"
#include "interpret_priv.h"
#include "module_priv.h"
#include "parallel_priv.h"
#include "subrequest_priv.h"
Go to the source code of this file.
Functions | |
static unlang_action_t | unlang_parallel (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
static void | unlang_parallel_cancel_child (unlang_parallel_state_t *state, int i) |
Cancel a specific child. More... | |
static unlang_action_t | unlang_parallel_child_done (UNUSED rlm_rcode_t *p_result, UNUSED int *p_priority, request_t *request, void *uctx) |
When the chld is done, tell the parent that we've exited. More... | |
static void | unlang_parallel_child_signal (request_t *request, UNUSED fr_signal_t action, void *uctx) |
Signal handler to deal with UNLANG_ACTION_DETACH. More... | |
void | unlang_parallel_init (void) |
static unlang_action_t | unlang_parallel_process (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
Run one or more sub-sections from the parallel section. More... | |
static unlang_action_t | unlang_parallel_resume (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
static void | unlang_parallel_signal (UNUSED request_t *request, unlang_stack_frame_t *frame, fr_signal_t action) |
Send a signal from parent request to all of it's children. More... | |
Implementation of the unlang "parallel" keyword.
Definition in file parallel.c.
|
static |
Definition at line 443 of file parallel.c.
|
inlinestatic |
Cancel a specific child.
Definition at line 37 of file parallel.c.
|
static |
When the chld is done, tell the parent that we've exited.
Definition at line 144 of file parallel.c.
|
static |
Signal handler to deal with UNLANG_ACTION_DETACH.
When a request detaches we need
Definition at line 113 of file parallel.c.
void unlang_parallel_init | ( | void | ) |
Definition at line 493 of file parallel.c.
|
static |
Run one or more sub-sections from the parallel section.
Definition at line 253 of file parallel.c.
|
static |
Definition at line 187 of file parallel.c.
|
static |
Send a signal from parent request to all of it's children.
Definition at line 421 of file parallel.c.