Re: [PATCH] Client-side support for Cyrus SASL
From: John Szakmeister <john_at_szakmeister.net>
Date: 2006-06-22 10:17:58 CEST
----- Vlad Georgescu <vgeorgescu@gmail.com> wrote:
I haven't been following your patches much, so I apologize if this has already been addressed. The while() statement is a busy wait, and generally isn't very processor friendly. I believe this code is really to protect only the multithreaded case, so a call to apr_thread_yield() might be a good thing in the while() loop. That'll at least give up execution time on that thread so that other things can happen (it's a little more friendly to the CPU).
-John
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.