RE: Windows R/W lock comment

2014-07-07 Thread Bert Huijben
ben [mailto:b...@qqmail.nl] Sent: maandag 7 juli 2014 12:25 To: 'Jeff Trawick'; 'APR Developer List' Subject: RE: Windows R/W lock comment I think it is a hybrid loop, but the documentation is not really clear about it. It is not as hybrid as a critical section (which intern

RE: Windows R/W lock comment

2014-07-07 Thread Bert Huijben
[mailto:b...@qqmail.nl] Sent: maandag 7 juli 2014 12:25 To: 'Jeff Trawick'; 'APR Developer List' Subject: RE: Windows R/W lock comment I think it is a hybrid loop, but the documentation is not really clear about it. It is not as hybrid as a critical section (which internall

RE: Windows R/W lock comment

2014-07-07 Thread Bert Huijben
I think it is a hybrid loop, but the documentation is not really clear about it. It is not as hybrid as a critical section (which internally falls back to the kernel based mutex behavior for long waits), but it is more CPU efficient than a loop around a few simple atomic operations. Looking