Displaying 1 result from an estimated 1 matches for "f3500ffd".
Did you mean:
f3000fff
2014 Jun 26
2
About memory index/search in multithread program
There may be some solutions?for example
class XAPIAN
{
*static* int InitDatabase(); //for reading only, do not need lock, but
if writing use lock
int Search(); //safe in one object, do not need lock
};
XIPIAN xp[ THREAD_NUM ];
one thread use one object, they use one database.
these can be in memory with one database.
2014-06-24 20:48 GMT+08:00 Olly Betts <olly at survex.com>: