search for: thread_1

Displaying 1 result from an estimated 1 matches for "thread_1".

Did you mean: thread1
2010 Aug 12
2
thread locked while flushing to database
On a multicore Linux platform I'm running a simple c test program, to evaluate xapian performance, and inspect advantages in multiple indexing. I'm starting two threads, and each thread writes to his database. main th -> indexing thread_1 -> db1 (dispatcher) -> indexing thread_2 -> db2 I use sched_setaffinity to bind each indexing thread to a specific core. During indexing phase i see both core running, but when my threads try to flush to the databases one of them keeps working, the other thread stop the execution (0%...