Could you please explain this? There doesn’t seem to be a requirement for all threads to pass in the same
parity
or state
, right? So, what is the purpose of parity
or state
? Is it just that once the number of threads reaching this try_wait
equals the number initialized by mbarrier
, they can proceed further?