Raise an exception when a critical section wait failed.

3 files changed