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

James Aylett james-xapian@tartarus.org
Thu, 17 Jun 2004 14:15:21 +0100


On Thu, Jun 17, 2004 at 08:42:12AM -0400, Eric Ridge wrote:

> As an aside, is it necessary to compile Xapian with -pthread or
> -lpthread or -D_REENTRANT or -D_THREAD_SAFE or something?  My
> thinking is no, but I'm just a novice when it comes to pthreads.

I'm pretty sure Xapian's configure will magically get this right. Use
xapian-config --cflags and xapian-config --libs when building against
it (omega does this correctly, for instance) and you should be fine.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james@tartarus.org                               uncertaintydivision.org