Fathom
                                
                                 Fathom copied to clipboard
                                
                                    Fathom copied to clipboard
                            
                            
                            
                        Not thread-safe when probing root?
The library seems to have problems when multiple threads call tb_probe_root (memory corruption). In my engine this is not done during a normal search, but there are some cases in which it is done (the parameter tuning utility for example can launch multiple threads, each of which does a root probe).
Yep, not thread safe. It says so in the header documentation:
 * - This function is NOT thread safe.  For engines this function should only
 *   be called once at the root per search.
The original code from this was based is also not thread safe at the root. I haven't looked into what is required to fix this.