Files
stockfish/src
Marco Costalba 43fa3a4d64 Fix some races in SMP code
When a search fails high then sp->alpha is increased and
slave threads are requested to stop.

So we have to check for a stop request before to start a search
otherwise we could end up with sp->alpha >= sp->beta
leading to an assert in debug run in search_pv().

This patch fixes the assert and get rid of some of possible races.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-02-01 12:39:53 +01:00
..
2009-11-01 17:05:00 +01:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-11-23 20:59:24 +01:00
2009-11-06 17:50:24 +01:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2008-09-01 07:59:13 +02:00
2009-05-20 14:43:17 +02:00
2009-05-07 14:54:40 +02:00
2009-12-12 19:23:10 +01:00
2009-09-17 14:18:44 +01:00
2009-11-01 17:05:00 +01:00
2009-12-30 13:25:02 +01:00
2008-09-24 00:32:53 +02:00
2009-05-07 14:54:40 +02:00
2009-12-30 13:25:20 +01:00
2009-05-10 18:38:47 +01:00
2009-11-25 17:42:41 +01:00
2009-11-09 08:43:34 +01:00
2009-11-14 17:57:50 +01:00
2009-11-14 17:57:50 +01:00
2009-05-07 14:54:40 +02:00
2009-09-04 08:21:07 +01:00
2009-07-02 06:29:14 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:39:53 +01:00
2009-11-01 17:05:00 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:14:37 +01:00
2010-02-01 12:14:37 +01:00
2009-11-07 10:08:28 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:14:37 +01:00
2009-05-10 18:38:47 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:39:21 +01:00