fix mutex wait test to avoid thread timing issue
fix mutex wait test to avoid thread timing issue

rampantpixels/foundation_lib,rampantpixels/foundation_lib,rampantpixels/foundation_lib,rampantpixels/foundation_lib