The worker MPM uses the fdqueue in a different way now, so this
function is no longer used nor needed.
-aaron
Index: fdqueue.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/worker/fdqueue.c,v
retrieving revision 1.4
diff -u -r1.4 fdqueue.c
--- fdqueue.c 2001/08/24 16:49:39 1.4
+++ fdqueue.c 2001/08/27 23:36:44
@@ -58,25 +58,6 @@
#include "fdqueue.h"
-/* Assumption: increment and decrement are atomic on int */
-
-/**
- * Threadsafe way to increment the number of empty slots ("blanks")
- * in the resource queue.
- */
-int ap_increase_blanks(fd_queue_t *queue)
-{
- if (pthread_mutex_lock(&queue->one_big_mutex) != 0) {
- return FD_QUEUE_FAILURE;
- }
- queue->blanks++;
- if (pthread_mutex_unlock(&queue->one_big_mutex) != 0) {
- return FD_QUEUE_FAILURE;
- }
-
- return FD_QUEUE_SUCCESS;
-}
-
/**
* Detects when the fd_queue_t is full. This utility function is expected
* to be called from within critical sections, and is not threadsafe.