WaitForSingleObject and WaitForMultipleObjects equivalent in Linux?

后端 未结 4 948
醉酒成梦
醉酒成梦 2020-11-29 04:21

I am migrating an applciation from windows to linux. I am facing problem with respect to WaitForSingleObject and WaitForMultipleObjects interfaces.

4条回答
  •  囚心锁ツ
    2020-11-29 04:42

    I realise this is an old question now, but for anyone else who stumbles across it, this source suggests that pthread_join() does effectively the same thing as WaitForSingleObject():

    http://www.ibm.com/developerworks/linux/library/l-ipc2lin1/index.html

    Good luck!

提交回复
热议问题