[Xapian-discuss] Threaded test (in C++) to reproduce our database problems

Richard Boulton richard@lemurconsulting.com
Thu, 17 Jun 2004 11:53:59 +0100


Olly Betts wrote:
> Is the fix obvious?  I should try this with 0.8.0 in case it has been
> fixed incidentally by some change since.

Yes - just change the prototype of the functions passed to 
pthread_create to return a "void *" and take a "void *", instead of 
returning void and taking no parameters.

-- 
Richard