You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ni...@apache.org on 2009/06/14 19:46:55 UTC

svn commit: r784592 - in /apr/apr/trunk/include: apr_queue.h apr_reslist.h

Author: niq
Date: Sun Jun 14 17:46:55 2009
New Revision: 784592

URL: http://svn.apache.org/viewvc?rev=784592&view=rev
Log:
Typo fixes contributed by Neil Conway

Modified:
    apr/apr/trunk/include/apr_queue.h
    apr/apr/trunk/include/apr_reslist.h

Modified: apr/apr/trunk/include/apr_queue.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_queue.h?rev=784592&r1=784591&r2=784592&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_queue.h (original)
+++ apr/apr/trunk/include/apr_queue.h Sun Jun 14 17:46:55 2009
@@ -57,13 +57,13 @@
                                            apr_pool_t *a);
 
 /**
- * push/add a object to the queue, blocking if the queue is already full
+ * push/add an object to the queue, blocking if the queue is already full
  *
  * @param queue the queue
  * @param data the data
  * @returns APR_EINTR the blocking was interrupted (try again)
  * @returns APR_EOF the queue has been terminated
- * @returns APR_SUCCESS on a successfull push
+ * @returns APR_SUCCESS on a successful push
  */
 APU_DECLARE(apr_status_t) apr_queue_push(apr_queue_t *queue, void *data);
 
@@ -74,31 +74,31 @@
  * @param data the data
  * @returns APR_EINTR the blocking was interrupted (try again)
  * @returns APR_EOF if the queue has been terminated
- * @returns APR_SUCCESS on a successfull pop
+ * @returns APR_SUCCESS on a successful pop
  */
 APU_DECLARE(apr_status_t) apr_queue_pop(apr_queue_t *queue, void **data);
 
 /**
- * push/add a object to the queue, returning immediatly if the queue is full
+ * push/add an object to the queue, returning immediately if the queue is full
  *
  * @param queue the queue
  * @param data the data
  * @returns APR_EINTR the blocking operation was interrupted (try again)
  * @returns APR_EAGAIN the queue is full
  * @returns APR_EOF the queue has been terminated
- * @returns APR_SUCCESS on a successfull push
+ * @returns APR_SUCCESS on a successful push
  */
 APU_DECLARE(apr_status_t) apr_queue_trypush(apr_queue_t *queue, void *data);
 
 /**
- * pop/get an object to the queue, returning immediatly if the queue is empty
+ * pop/get an object to the queue, returning immediately if the queue is empty
  *
  * @param queue the queue
  * @param data the data
  * @returns APR_EINTR the blocking operation was interrupted (try again)
  * @returns APR_EAGAIN the queue is empty
  * @returns APR_EOF the queue has been terminated
- * @returns APR_SUCCESS on a successfull push
+ * @returns APR_SUCCESS on a successful push
  */
 APU_DECLARE(apr_status_t) apr_queue_trypop(apr_queue_t *queue, void **data);
 
@@ -120,7 +120,7 @@
 APU_DECLARE(apr_status_t) apr_queue_interrupt_all(apr_queue_t *queue);
 
 /**
- * terminate all queue, sendinging a interupt to all the
+ * terminate the queue, sending an interrupt to all the
  * blocking threads
  *
  * @param queue the queue

Modified: apr/apr/trunk/include/apr_reslist.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_reslist.h?rev=784592&r1=784591&r2=784592&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_reslist.h (original)
+++ apr/apr/trunk/include/apr_reslist.h Sun Jun 14 17:46:55 2009
@@ -77,7 +77,7 @@
  * @param con Constructor routine that is called to create a new resource.
  * @param de Destructor routine that is called to destroy an expired resource.
  * @param params Passed to constructor and deconstructor
- * @param pool The pool from which to create this resoure list. Also the
+ * @param pool The pool from which to create this resource list. Also the
  *             same pool that is passed to the constructor and destructor
  *             routines.
  * @remark If APR has been compiled without thread support, hmax will be
@@ -123,7 +123,7 @@
  * Set the timeout the acquire will wait for a free resource
  * when the maximum number of resources is exceeded.
  * @param reslist The resource list.
- * @param timeout Timeout to wait. The zero waits forewer.
+ * @param timeout Timeout to wait. The zero waits forever.
  */
 APU_DECLARE(void) apr_reslist_timeout_set(apr_reslist_t *reslist,
                                           apr_interval_time_t timeout);