Static Public Member Functions | |
static void | init (int running, int pending) throw () |
static bool | my_turn () throw () |
static int | wait_for (pid_t pid, SRPC *client, bool &killed) throw () |
static void | killer_body () throw () |
static void | call_failed () throw () |
Static Private Attributes | |
static Basics::mutex | mu |
static int | maxChildren |
static int | maxPending |
static child_info * | info |
static int | nInUse |
static int | nPending |
static Basics::thread | killer |
static CondSeq | pending |
Friends | |
void | Info (SRPC *srpc, int intfVersion, int procId) throw (SRPC::failure) |
Classes | |
class | child_info |
|
Definition at line 566 of file RunToolDaemon.C. References Basics::mutex::lock(), mu, nInUse, nPending, pending, Sequence< Elem, elem_ptrfree >::remlo(), Basics::cond::signal(), Sequence< Elem, elem_ptrfree >::size(), and Basics::mutex::unlock(). |
|
Definition at line 389 of file RunToolDaemon.C. References Basics::thread::fork_and_detach(), info, killer, maxChildren, maxPending, NEW_ARRAY, nInUse, and nPending. Referenced by RunToolServerInit(). |
|
Definition at line 529 of file RunToolDaemon.C. References SRPC::alive(), children::child_info::client, info, children::child_info::killed, Basics::mutex::lock(), maxChildren, mu, Basics::thread::pause(), children::child_info::pid, Basics::mutex::unlock(), and UNUSED. |
|
Definition at line 399 of file RunToolDaemon.C. References Sequence< Elem, elem_ptrfree >::addhi(), Basics::mutex::lock(), maxChildren, maxPending, mu, nInUse, nPending, pending, Sequence< Elem, elem_ptrfree >::size(), Basics::mutex::unlock(), and Basics::cond::wait(). |
|
Definition at line 460 of file RunToolDaemon.C. References children::child_info::client, info, children::child_info::killed, Basics::mutex::lock(), maxChildren, mu, nInUse, nPending, pending, children::child_info::pid, Sequence< Elem, elem_ptrfree >::remlo(), Basics::cond::signal(), Sequence< Elem, elem_ptrfree >::size(), SYSERROR, Basics::mutex::unlock(), and UNUSED. |
|
Definition at line 915 of file RunToolDaemon.C. |
|
Definition at line 240 of file RunToolDaemon.C. Referenced by init(), killer_body(), and wait_for(). |
|
Definition at line 241 of file RunToolDaemon.C. Referenced by init(). |
|
Definition at line 236 of file RunToolDaemon.C. Referenced by Info(), init(), killer_body(), my_turn(), and wait_for(). |
|
Definition at line 237 of file RunToolDaemon.C. |
|
Definition at line 235 of file RunToolDaemon.C. Referenced by call_failed(), Info(), killer_body(), my_turn(), and wait_for(). |
|
Definition at line 238 of file RunToolDaemon.C. Referenced by call_failed(), Info(), init(), my_turn(), and wait_for(). |
|
Definition at line 239 of file RunToolDaemon.C. Referenced by call_failed(), Info(), init(), my_turn(), and wait_for(). |
|
Definition at line 242 of file RunToolDaemon.C. Referenced by call_failed(), my_turn(), and wait_for(). |