helperKickQueue(hlp);
}
-/*
+/**
* DPW 2007-05-08
*
* helperStatefulOpenServers: create the stateful child helper processes
debugs(84, 9, "helperSubmit: " << buf);
}
-/* lastserver = "server last used as part of a deferred or reserved
+/**
+ * lastserver = "server last used as part of a deferred or reserved
* request sequence"
*/
void
debugs(84, 9, "helperStatefulSubmit: placeholder: '" << r->placeholder << "', buf '" << buf << "'.");
}
-/*
- * helperStatefulDefer
- *
- * find and add a deferred request to a helper
+/**
+ * find an available helper and add a deferred request to it
*/
helper_stateful_server *
helperStatefulDefer(statefulhelper * hlp)
return rv;
}
-void
-helperStatefulReset(helper_stateful_server * srv)
-/* puts this helper back in the queue. the calling app is required to
+/**
+ * puts this helper back in the queue. the calling app is required to
* manage the state in the helper.
*/
+void
+helperStatefulReset(helper_stateful_server * srv)
{
statefulhelper *hlp = srv->parent;
helper_stateful_request *r = srv->request;
}
}
-/*
+/**
* DPW 2007-05-08
*
* helperStatefulReleaseServer tells the helper that whoever was
srv->parent->OnEmptyQueue(srv->data);
}
+/** return a pointer to the stateful routines data area */
void *
helperStatefulServerGetData(helper_stateful_server * srv)
-/* return a pointer to the stateful routines data area */
{
return srv->data;
}
+/**
+ * Dump some stats about the helper states to a StoreEntry
+ */
void
helperStats(StoreEntry * sentry, helper * hlp, const char *label)
{