Use local test&set instead of global mutex to expand a node.
commit7cb9686ecf7ab6c09ffe42ada5019e2554348942
authorJean-loup Gailly <jloup@google.com>
Sat, 9 Jan 2010 22:31:53 +0000 (9 23:31 +0100)
committerJean-loup Gailly <jloup@google.com>
Sat, 9 Jan 2010 22:31:53 +0000 (9 23:31 +0100)
tree11794f625d2dd9a2c30f18d6be7933e72d4dbf26
parentacccac5bb2c332832523d380fc59f00617051d23
Use local test&set instead of global mutex to expand a node.
Fix race condition when expanding a node.
Define a memory limit to avoid crashing later.
By default do not compile the TM_ROOT code to save memory.
Fix display of number of playouts.
uct/tree.c
uct/tree.h
uct/uct.c
uct/walk.c