The execution doesn't change also without the set_affinity :( Here there's a semplified exemple of my indexing thread's code: http://pastebin.com/gy6tJTpr Does anybody see something irregular? -- --------------------- Luca Barbieri