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

svn commit: r784523 - /apr/apr-util/branches/1.3.x/misc/apr_queue.c

Author: bojan
Date: Sun Jun 14 07:46:34 2009
New Revision: 784523

URL: http://svn.apache.org/viewvc?rev=784523&view=rev
Log:
Backport r784520 from the trunk.
apr_queue_trypush() doesn't block if the queue is full.
Patch by Neil Conway <nrc cs.berkeley.edu>.

Modified:
    apr/apr-util/branches/1.3.x/misc/apr_queue.c   (contents, props changed)

Modified: apr/apr-util/branches/1.3.x/misc/apr_queue.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/misc/apr_queue.c?rev=784523&r1=784522&r2=784523&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/misc/apr_queue.c (original)
+++ apr/apr-util/branches/1.3.x/misc/apr_queue.c Sun Jun 14 07:46:34 2009
@@ -202,9 +202,9 @@
 }
 
 /**
- * Push new data onto the queue. Blocks if the queue is full. Once
- * the push operation has completed, it signals other threads waiting
- * in apr_queue_pop() that they may continue consuming sockets.
+ * Push new data onto the queue. If the queue is full, return APR_EAGAIN. If
+ * the push operation completes successfully, it signals other threads
+ * waiting in apr_queue_pop() that they may continue consuming sockets.
  */
 APU_DECLARE(apr_status_t) apr_queue_trypush(apr_queue_t *queue, void *data)
 {

Propchange: apr/apr-util/branches/1.3.x/misc/apr_queue.c
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Sun Jun 14 07:46:34 2009
@@ -0,0 +1,4 @@
+/apr/apr/trunk/misc/apr_queue.c:781403
+/apr/apr/trunk/util-misc/apr_queue.c:784520
+/apr/apr-util/branches/1.3.x/misc/apr_queue.c:692751
+/apr/apr-util/trunk/misc/apr_queue.c:692751,731225,743986,744009,745771,747612,747623,747630,781403