On 10/30/06, Colin Hirsch <[EMAIL PROTECTED]> wrote:
Hm ... to trigger the bug in apr_atomic_inc32 without waiting for hours one
would need at least two CPUs, each performing an apr_atomic_inc32 in a tight
loop; one would then need to save all return values, and check whether every
number occurs only once.
Of course this test is still not 100% deterministic...
To make it work reasonably well one would need to have large arrays for the
return values, one per thread, all pages touched by memset; and as simultaneous
a start of the threads as possible, probably via a broadcast on a condition
variable.
Any simpler ideas?
No, but I have a 32-way T2000 and a 4-way SMP x86 box at my disposal.
So, those HW conditions should be fairly easy to satisfy. -- justin