there is a barrier that waits for all threads before the put happens.