api: avoid swapping vlib_rp before barrier sync