Library working safely using queues and a final(and global) thread barrier. Barrier per threads and Blocked queue on the next commit.