Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6- Tournament
Date: Tue Dec 11 2001 4:34 am
Author: Maxim, Michael G. <mmaxim@andrew.cmu.edu>
Subject: Re: Threads (killing them)

Jason,

No there will be no issues when the process is killed, that is why it runs in a separate process, so I can kill everything that goes along with it.

I stress to you again, there is no need to time your function to see when 5 seconds is up. You should implement iterative deepening such that it starts at search depth 1, and continues on to search depth infinity, banking on the fact that it will be shut down after some interval of time. Throughout this whole process it should be outputting moveds. For all you know I could change the time limit to 7 seconds, and then you would be really upset, because you stop all of your move threads after 5 seconds...

Mike
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
Threads      Bortz, Andrew S.      Sat Dec 8 2001 5:06 pm       
Re: Threads      Maxim, Michael G.      Sat Dec 8 2001 7:05 pm       
Re: Threads      Cipriani, Jason A.      Mon Dec 10 2001 10:53 am       
Re: Threads (more about 5 sec...      Cipriani, Jason A.      Mon Dec 10 2001 11:14 am       
Re: Threads      Maxim, Michael G.      Mon Dec 10 2001 5:19 pm       
Re: Threads      Cipriani, Jason A.      Mon Dec 10 2001 6:41 pm       
Re: Threads      Anonymous      Mon Dec 10 2001 7:17 pm       
Re: Threads      Fields, David C.      Mon Dec 10 2001 8:08 pm       
Re: Threads      Cipriani, Jason A.      Mon Dec 10 2001 9:27 pm       
Re: Threads      Maxim, Michael G.      Mon Dec 10 2001 10:45 pm       
Re: Threads...      Cipriani, Jason A.      Tue Dec 11 2001 3:00 am       
Re: Thread...      Maxim, Michael G.      Tue Dec 11 2001 4:34 am       
Re: Thread...      Cipriani, Jason A.      Tue Dec 11 2001 5:07 am       
Re: Threads      Anonymous      Mon Dec 10 2001 8:51 pm       
Re: Threads      Anonymous      Mon Dec 10 2001 10:23 pm       

Back to previous screen