Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6- Tournament
Date: Mon Dec 10 2001 10:53 am
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu>
Subject: Re: Threads

"All of your threads will be destroyed after 5 seconds though, so a "pondering" thread that would think during the opponents five seconds is not allowed or possible under our system."

dammit.

but about this 5 seconds. what kind of machines will you be running this on? my computer can do in 0.5 seconds what one of the andrew machines can do in 5. does this mean that instead of a 5 second limit, we actually have a completely arbitrary time limit and we just have to guess what will happen to be 5 seconds on whatever computer you are running on?

obviously, then, it's stupid to NOT have a second thread running acting as a timer to get whatever the current best move is after 5 seconds. so then the question is, how reliable is your 5 second timer, and will it be exactly 5 seconds? if it is, then we really only have like 4.8 or 4.9 seconds, because if we accidently stop our thing at say, 5.01 seconds, then it gets terminated.

so, should we go for maybe, 4.75 seconds and count on your program stopping at 5 seconds and no sooner? or will you be giving us a little padding and killing the process at a little over 5 seconds?

thanks,

jason
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