apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41254] apr_queue_t enhancements
Date Mon, 29 Jun 2009 16:04:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=41254





--- Comment #9 from Neil Conway <nrc@cs.berkeley.edu>  2009-06-29 09:04:06 PST ---
You could also achieve this functionality by inserting a "configuration change
request" into the queue itself, and having the queue consumer pause and reload
the configuration when it pops the change request from the queue. If you need
to be notified when the queue consumer has applied the conf change, you can put
a condition var in the change request message and wait for the consumer to
signal it.

This approach also has the advantage of not blocking concurrent insertions,
which reduces throughput.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message