|
From: Doug C. <cu...@lu...> - 2003-06-18 19:00:12
|
I'm not sure a thread library is needed so much as a mutex library that is compatible with whatever thread libraries folks end up using. Like Java Lucene, CLucene should be thread-safe, but not itself multithreaded. But I'[m probably just being over-precise: a particular mutex implementation will probably only work with a particular thread implementation. I've heard good things about the Boost Libraries (http::/www.boost.org/). They have a portable C++ thread library that includes a mutex implemenation. However this might be overkill. You might just want to define a couple of macros, like MAKE_MUTEX, and WITH_MUTEX, and then define them differently for different platforms. Doug Ben van Klinkehn wrote: > Hi everyone, > >I thought I'd ask for your opinions on clucene. At the moment multithreading >support is not implemented. This was mainly because i wasn't sure what >library to use for this... as far as portability, etc is concerned. What do >you think? There's a pthreads port for windows around that i've seen... or >does anyone have a better idea? > >ben > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >CLucene-developers mailing list >CLu...@li... >https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |