|
-
Mar 22nd, 2008, 01:03 PM
#1
Thread Starter
New Member
How to check if threads still exist?
Hi.
I'm making a chatprogram, and the server creates a thread for each client connected. The server stores these threads in a vector. But how can I remove the thread out of the vector when the thread doesn't exists anymore (when the client has disconnected)?. I know the removeElement function, but how can I check whether the thread exists or not?
Thanks,
Niek
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|