ton*_*gko 2 c++ return visual-c++
我是C++初学者,想知道这个场景的影响:
PCONSOLE_SCREEN_BUFFER_INFOEX GetConsoleInfo(void) {
WaitForSingleObject(m_hSync); // m_hSync is HANDLE to mutex created using CreateMutex()
return m_pcsbi; // m_pcsbi is of type PCONSOLE_SCREEN_BUFFER_INFOEX
ReleaseMutex(m_hSync); // <== will this line be executed?
}
Run Code Online (Sandbox Code Playgroud)
想知道[ReleaseMutex()]会被执行吗?
| 归档时间: |
|
| 查看次数: |
150 次 |
| 最近记录: |