summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 1208e84..b952edc 100644
--- a/httpd.c
+++ b/httpd.c
@@ -251,6 +251,13 @@ static sem_t job_sem;
xs_list *job_fifo = NULL;
+int job_fifo_ready(void)
+/* returns true if the job fifo is ready */
+{
+ return job_fifo != NULL;
+}
+
+
void job_post(const xs_val *job)
/* posts a job for the threads to process it */
{