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;
251xs_list *job_fifo = NULL; 251xs_list *job_fifo = NULL;
252 252
253 253
254int job_fifo_ready(void)
255/* returns true if the job fifo is ready */
256{
257 return job_fifo != NULL;
258}
259
260
254void job_post(const xs_val *job) 261void job_post(const xs_val *job)
255/* posts a job for the threads to process it */ 262/* posts a job for the threads to process it */
256{ 263{