We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14f98c commit 49bd98fCopy full SHA for 49bd98f
driver/others/memory.c
@@ -264,10 +264,12 @@ void openblas_fork_handler()
264
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60035
265
// In the mean time build with USE_OPENMP=0 or link against another
266
// implementation of OpenMP.
267
+#ifndef OS_WINDOWS
268
int err;
269
err = pthread_atfork (BLASFUNC(blas_thread_shutdown), NULL, NULL);
270
if(err != 0)
271
openblas_warning(0, "OpenBLAS Warning ... cannot install fork handler. You may meet hang after fork.\n");
272
+#endif
273
}
274
275
int blas_get_cpu_number(void){
0 commit comments