Fix bug where reading the strand enable mask in simulator would return wrong value
Suspend threads when waiting on barrier so they don't consume cycles