* Ely: first attempt to integrate multithread.