第2单元多后线程并行编程模型1.pptVIP

  • 3
  • 0
  • 约9.83万字
  • 约 53页
  • 2018-12-29 发布于福建
  • 举报
第2单元多后线程并行编程模型1

* Present and describe the WaitForSingleObject() routine. You can use the WaitForSingleObject() function to wait on a single thread to terminate. This function requires a HANDLE as a parameter, which can be for any kernel object, such as a thread, an event, a mutex, or a semaphore. When the input HANDLE is a thread, the thread calling the WaitForSingleObject() function will block waiting for the thread, whose HANDLE has been sent as the parameter, to terminate. HANDLES have two states, signaled and non-signaled. When a thread exits, its HANDLE becomes signaled, else it is non-signaled. The W

文档评论(0)

1亿VIP精品文档

相关文档