As with all synchronization mechanisms, you must ensure that all code paths wait on the appropriate wait handle before accessing a protected resource.
英
美
- 与所有同步机制一样,您必须确保在访问受保护的资源之前所有代码路径都在正确的等待句柄上等待。