add thread safety stack