Threads works using semafors. Performance decreasedgit status  4/3 bug fixed.