Eliminate branch and insert an explicit reader memory barrier to ensure that waiter bit is set before reading semaphore count.
Eliminate branch and insert an explicit reader memory barrier to ensure
that waiter bit is set before reading semaphore count.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase