Skip to content

Commit b31349c

Browse files
authored
Open up delayed (re)init to non-Cygwin OS as well
1 parent 4d61e45 commit b31349c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

driver/others/blas_server_win32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,9 @@ int blas_thread_init(void){
391391

392392
int exec_blas_async(BLASLONG pos, blas_queue_t *queue){
393393

394-
#if defined(SMP_SERVER) && defined(OS_CYGWIN_NT)
394+
#if defined(SMP_SERVER)
395395
// 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
396397
if (unlikely(blas_server_avail == 0)) blas_thread_init();
397398
#endif
398399

0 commit comments

Comments
 (0)