DEVEL15-windows-sleep-when-out-of-buffers-20061212
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 12 Dec 2006 17:04:41 +0000 (17:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 12 Dec 2006 17:04:41 +0000 (17:04 +0000)
commitb32f92649201e3d7023ffe9a8df80bb2dc5be2e0
treebe4063f64998832113c415f9a3153aa3c9eb85e7
parentcc075047dcd01b662d8554e5927e51ca76c97c4d
DEVEL15-windows-sleep-when-out-of-buffers-20061212

When there are no free buffers, don't loop continuously.
Sleep so that the other threads that are holding the buffers
can grab the global buffer lock and release them.

(cherry picked from commit f126802236bb059b8f0e804c76aef1031beb8a44)
src/WINNT/afsd/cm_buf.c