Update barrier_u.cpp