Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to migrate a C++ project to linux platform. I am using GCC compiler on Linux. On windows we were using CreateThread to create threads.

Here on Linux i am using pthread.

I want to check whether thread is alive or dead. On windows i use WaitForSingleObject for the this.

What is the way by which i can achieve this on linux ?

Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900