Use exceptions to stop the search
authorMarco Costalba <mcostalba@gmail.com>
Wed, 14 Aug 2013 06:29:57 +0000 (08:29 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 14 Aug 2013 06:29:57 +0000 (08:29 +0200)
commit11b1a76f35108316ee37d9d7056f4d621305a7ed
treea5191da8ed89c3c2989c3eb3ad66acad9031379f
parentbd8f463b7e93e1a0a8c8be07b0c022326f507722
Use exceptions to stop the search

Instead of classical flags, throw an
exception when we want to immediately halt
the search. Currently only one type
is used for both UCI stop and threads
cut off.

No functional change.
src/Makefile
src/search.cpp