Add barrier trigger support.

Not tested well but all the code is there. Seems that broadcast with triggers
works, but that one usese only triggered put (not triggered atomic).