mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
Test commands for #23952 refactored to: - avoid interaction with Tcl interpreter from thread functions (fixes sudden crash) - get shapes outside of the thread functions (keeping only code being tested inside) - run 100 threads instead of 2 (increases chance for data race to exhibit if present) Linux compilation problems fixed.
15 lines
501 B
Plaintext
15 lines
501 B
Plaintext
puts "================"
|
|
puts "OCC23952"
|
|
puts "================"
|
|
puts ""
|
|
###########################################################################################
|
|
# Improving thread-safety of intersections, approximations and other modeling algorithms
|
|
###########################################################################################
|
|
|
|
pload QAcommands
|
|
restore [locate_data_file bug23952_s1.draw] a
|
|
restore [locate_data_file bug23952_s2.draw] b
|
|
|
|
set NbLines 6
|
|
OCC23952intersect $NbLines a b
|