Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: To Experienced Java Programmers: strange BUG!!

Author: Thorsten Greiner

Date: 06:18:39 05/06/04

Go up one level in this thread


On May 06, 2004 at 08:55:01, Bernd Nürnberger wrote:

>Could your issue nethertheless apply in this case?  Maybe the internal
>splitting in two 32 bit vars, operation on these, and "concanting" them
>back to a 64 bit value are interrupted by the other thread, causing
>the CPU registers to hold false values?  But in case your issue is a
>problem in my case: how to fix it?

Guard the access to the variable with a synchronized block.



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.