Author: Tony Werten
Date: 06:16:23 08/23/03
Go up one level in this thread
On August 23, 2003 at 09:06:46, Steve Maughan wrote: >Hi Tony, > >I haven't heard of this problem and I doubt it's a Delphi specific problem. > >One possibility to try would be to use 'CreateThreadEx' instead of >'CreateThread'. I know from your website that you use CreateThread in XiniX but >someone told me that this is not consols safe - I've no idea why and no more >infor thatn this. > >The second thing to try would be to make sure that the read thread is >*perfectly* synced with the thinking thread. In Monarch I had some problems >when I set a flag to change the thinking status only a few instructions before >re-entering the main 'Wait-for-instruction' loop. Amazingly this caused >problems once in a while and I needed to set all flags the instruction before >entering the loop. I hope that makes sense. It does, unfortunately, it all refers to reading, I have problems writing :) Thanks anyway. > >Regards, > >Steve > >PS I'm rewriting Monarch into VC - I was concerned that Borland haven't improved >the compiler since 1996. I'll wait to see if they take long for a 64 bit compiler. Tony
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.