[Xapian-discuss] Threaded test (in C++) to reproduce our database
problems
Richard Boulton
richard@lemurconsulting.com
Thu, 17 Jun 2004 11:23:17 +0100
James Aylett wrote:
> I've got this running happily here on fairly recent CVS code. What
> OS/processor are you using? What compiler? (That code won't compile
> straight off with g++ 3.0 on Deibha/ia32 because the type of the
> pthread target function is wrong; I fixed the code to compile and am
> not seeing the issue.)
(Also, I had to comment out the `#include "xapian_threads.h"' line,
since I havn't got the header file.)
I've tried both your test cases, too, on my box (running debian
unstable, and recent CVS xapian). I'm not seeing any unexpected errors.
(ie, no errors in the multiple writer case. In the "writer and multiple
readers" case, I'm seeing occasional "Reader: ERROR=Db block
overwritten" errors, but these are to be expected, as Olly explained.)
I assume it must be something to do with your OS, processor or compiler,
as James suggested...
--
Richard