lib/threads: intro of the threads lib, with Thread, Mutex and Barrier