test which barrier is used: linux vs. posix