add a global barrier to jusha.