1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 01:29:36 +00:00
BadFish/src
Marco Costalba c65d67feb5 Revert "Use a per-thread array"
This reverts commit 800410eef1 and instead increases
stack size.

I went through the old emails with Daylen that reported the
crash issue on Mac OS X and was fixed by 0049d3f337.

It was reported default stack size for a thread in Mac OS X is 8
megabytes while the patch that we are reverting allows to reduce
stack size at max of about 217KB, so the reason for the crash was
only marginal in MAX_MOVES value. On those emails Daylen also
hinted how to increase stack size for Mac OS X to 16MB.

So prefer to increase stack size to 16MB instad of re-inventing
the wheel and do our home grown stack as we did with the patch
that we are now reverting (it will remain anyhow in git history
for documentation purposes).

No functional change.
2013-09-28 10:10:51 +02:00
..
benchmark.cpp Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
bitbase.cpp Move classify_leaf() to c'tor in bitbases 2013-09-14 13:08:37 +02:00
bitboard.cpp Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
bitboard.h Use frontmost_sq() and backmost_sq helpers 2013-08-30 16:22:22 +02:00
bitcount.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
book.cpp Fix best move lookup bug 2013-09-27 09:04:24 +02:00
book.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
endgame.cpp Rewrite KBBKN endgame 2013-09-02 11:03:01 +02:00
endgame.h Revert "Move draw by material check" 2013-09-12 08:44:11 +02:00
evaluate.cpp Fix a silly unstoppable eval bug 2013-09-16 23:59:37 +02:00
evaluate.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
main.cpp Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
Makefile Revert "Use a per-thread array" 2013-09-28 10:10:51 +02:00
material.cpp Revert "Move draw by material check" 2013-09-12 08:44:11 +02:00
material.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
misc.cpp Restore development version 2013-08-21 08:41:47 +02:00
misc.h Streamline time computation 2013-08-03 18:30:43 +02:00
movegen.cpp Speed up move generation 2013-07-29 19:01:50 +02:00
movegen.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
movepick.cpp Revert "Use a per-thread array" 2013-09-28 10:10:51 +02:00
movepick.h Revert "Use a per-thread array" 2013-09-28 10:10:51 +02:00
notation.cpp Microptimize MoveList loop 2013-05-19 22:00:49 +02:00
notation.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
pawns.cpp Rewrite unstoppable pawns evaluation 2013-09-16 08:57:37 +02:00
pawns.h Rewrite unstoppable pawns evaluation 2013-09-16 08:57:37 +02:00
platform.h Streamline time computation 2013-08-03 18:30:43 +02:00
position.cpp Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
position.h Further factor out position update code 2013-08-01 16:32:46 +02:00
psqtab.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
rkiss.h Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
search.cpp Simplify extensions 2013-09-28 09:54:22 +02:00
search.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
thread.cpp Revert "Use a per-thread array" 2013-09-28 10:10:51 +02:00
thread.h Revert "Use a per-thread array" 2013-09-28 10:10:51 +02:00
timeman.cpp Fix time parameters for blitz games 2013-09-16 09:07:47 +02:00
timeman.h Time management: move faster if PV is stable 2013-08-26 10:29:58 -07:00
tt.cpp Use pre-increment also for native types 2013-09-15 09:17:21 +02:00
tt.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
types.h Increase MAX_MOVES to 256 2013-09-27 08:59:03 +02:00
uci.cpp Restore development version 2013-08-21 08:41:47 +02:00
ucioption.cpp Final time management setup 2013-09-23 07:59:51 +02:00
ucioption.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00