APR has a testsuite that includes a test for apr_atomic_xchgptr. Does that test detect the problem?
Not as written, but it can trivially be made to. A patch has been added to the ARP bugzilla.
APR has a testsuite that includes a test for apr_atomic_xchgptr. Does that test detect the problem?
Not as written, but it can trivially be made to. A patch has been added to the ARP bugzilla.