|
-
Jul 21st, 2010, 06:02 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Server listening-thread question.
Q: Can a thread survive indefinately, as long as it dosen't generate any run-time errors?
The reason for asking is this:
I just finished making a rather huge server/client application.
The server listens for clients in a seperate thread, and I have tried making both primay and secondary threads robust so as to never fail regardless of what happens. And actually the server has been running for a total of 4 days on another computer and has survived anything I've thrown at it. I was tempted to add security in the primary thread using timered checks on the secondary thread (listening thread) so as to verify it's running state continuously, but is it worth the bother in your experience?
Thank you in advance.
Thomas
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
|