Re: [問題] Thread and Event的疑惑
http://msdn.microsoft.com/en-us/library/ms687032(VS.85).aspx
The function modifies the state of some types of synchronization objects.
Modification occurs only for the object whose signaled state caused the
function to return. For example, the count of a semaphore object is decreased
by one.
我猜是上面這一段吧,
他會修改某些synchronization objects的status,
也就是被signal後,造成該function return,
而他又修改了該synchronization objects的status。
我記得同樣是WaitForSingleObject...
丟給他CEvent和 event handle
行為也會不一樣… =___=""
--
或許人生是一段整合內在的自己
並尋求人間一點真情的過程吧
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.120.59.242
※ 編輯: aecho 來自: 59.120.59.242 (06/08 18:58)
推
06/08 19:29, , 1F
06/08 19:29, 1F
→
06/08 19:29, , 2F
06/08 19:29, 2F
→
06/08 19:30, , 3F
06/08 19:30, 3F
推
06/09 09:14, , 4F
06/09 09:14, 4F
推
06/09 10:36, , 5F
06/09 10:36, 5F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):