mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-26 20:51:10 +08:00
2b379b9f08
- The Strtod() function used a shared static Bigint memory pool (private_mem, pmem_next, TI0) without synchronization. - When multiple threads called Strtod() concurrently (e.g. parallel BRep reading), the pool was corrupted causing random mis-parses of numeric values. - Fix: declare private_mem, pmem_next and TI0 as thread_local so each thread gets its own independent memory pool and freelist. - Added Standard_Strtod_Test.cxx with parallel correctness tests using OSD_Parallel::For. - Added BRepTools_Test.cxx with integration tests for parallel BRep file reading.