JuliaLinearAlgebra / libblastrampoline

Using PLT trampolines to provide a BLAS and LAPACK demuxing library.
MIT License
66 stars 17 forks source link

Avoid running `init_config()` more than once per process #118

Closed staticfloat closed 1 year ago

staticfloat commented 1 year ago

Windows runs DllMain multiple times; when new threads are started, for instance. We want to run our DllMain() implementation only during process attachment (e.g. when the first thread loads it).