Tweak macro THR_LOCK_RELEASE a bit for non-PTHREAD_INVARIANTS case.
Tweak macro THR_LOCK_RELEASE a bit for non-PTHREAD_INVARIANTS case.

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