I am working with single worker thread.
I started thread like this
pThread = AfxBeginThread(MyThreadFunc,this);
and i stopped thread like this
I would like to start two worker threads at a time.
How can synchirnize two threads? How should i know wheather the first is running or not? is there any speacial methiods to know this.