Lines Matching refs:method

27  * This file contains a set of routines used to perform wait based method
46 /* structure used to represent an active method process */
53 instance_method_t method; /* the method type running */
63 /* list of currently executing method processes */
74 * Setup structures used for method termination monitoring.
98 error_msg("%s: %s", gettext("Failed to create method pool"),
105 gettext("Failed to create method list"),
150 * Callback function that handles the timeout of an instance's method.
151 * 'arg' points at the method_el_t representing the method.
159 error_msg(gettext("The %s method of instance %s timed-out"),
160 methods[mp->method].name, mp->inst->fmri);
164 if (mp->method == IM_START) {
174 * Registers the attributes of a running method passed as arguments so that
175 * the method's termination is noticed and any further processing of the
179 * to monitor the method process, it failed to setup a required timer or
198 * if a method has gone away whilst we were stopped,
209 /* add method record to in-memory list */
217 me->method = mthd;
230 /* register a timeout for the method, if required */
240 "Failed to schedule method timeout"));
271 * method process for its termination.
276 /* cancel any timer associated with the method */
284 /* remove method record from list */
313 * Process any terminated methods. For each method determined to have
315 * appropriate handling function, depending on the type of the method.
333 * open psinfo file from /proc when the method terminates.
342 /* get the method's exit code (no need to loop for EINTR) */
352 * of its associated method. This may result in
354 * we don't miss the termination of a method.
362 * the method must not be owned by inetd due to it
392 debug_msg("waitpid() for %s method of "
394 methods[me->method].name, me->inst->fmri,
400 remove_method_ids(me->inst, me->pid, me->cid, me->method);
403 if (me->method != IM_START) {