diff options
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -251,6 +251,13 @@ static sem_t job_sem; | |||
| 251 | xs_list *job_fifo = NULL; | 251 | xs_list *job_fifo = NULL; |
| 252 | 252 | ||
| 253 | 253 | ||
| 254 | int job_fifo_ready(void) | ||
| 255 | /* returns true if the job fifo is ready */ | ||
| 256 | { | ||
| 257 | return job_fifo != NULL; | ||
| 258 | } | ||
| 259 | |||
| 260 | |||
| 254 | void job_post(const xs_val *job) | 261 | void 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 | { |