We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d61e45 commit b31349cCopy full SHA for b31349c
1 file changed
driver/others/blas_server_win32.c
@@ -391,8 +391,9 @@ int blas_thread_init(void){
391
392
int exec_blas_async(BLASLONG pos, blas_queue_t *queue){
393
394
-#if defined(SMP_SERVER) && defined(OS_CYGWIN_NT)
+#if defined(SMP_SERVER)
395
// Handle lazy re-init of the thread-pool after a POSIX fork
396
+ // on Cygwin or as delayed init when a static library is used
397
if (unlikely(blas_server_avail == 0)) blas_thread_init();
398
#endif
399
0 commit comments