[DEV] remove os dependency for mutex and contition