Summary
- Refactored the NNUE network implementation to keep immutable weight buffers in shared pointers, atomically swap them when reloading, and expose safe handles for shared read-only access.
- Updated search workers to cache the shared weight handles, refresh per-thread tables only when weights change, and ran replication jobs on the owning thread to avoid races.
- Added Python tests that spawn the engine to check consistent multi-thread behaviour and network reload stability under concurrency.
Download wordfish 2.41 dev-150925