amelioration du thread