> -----Original Message----- > From: Bert Huijben [mailto:[email protected]] > Sent: maandag 30 juni 2014 19:34 > To: [email protected] > Cc: [email protected]; [email protected] > Subject: [Patch] Reader Writer lock performance on Windows > > Hi,
The patch as posted triggers the race condition in
APR_DECLARE_LATE_DLL_FUNC() for which I already posted a patch some time ago
(but which isn't applied yet).
I updated the patch to work around this problem, as without some patch the
apr testsuite tries to require read locks in two threads at exactly the same
time on my machine which in many cases ignores a AcquireSRWLockShared call.
The updated patch makes sure all function pointers are initialized when
creating a reader-writer lock.
Bert
apr-SlimReaderWriter.patch
Description: Binary data
