From ae2c0f2a311257f1a1991e72a0563a4722967539 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 8 Jun 2025 18:06:03 +0200 Subject: [PATCH] show warning on single-threaded mode also with CYGWIN --- src/bridges/bridge_python_generic_hash_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridges/bridge_python_generic_hash_mp.c b/src/bridges/bridge_python_generic_hash_mp.c index e5599e76f..a40d55373 100644 --- a/src/bridges/bridge_python_generic_hash_mp.c +++ b/src/bridges/bridge_python_generic_hash_mp.c @@ -714,7 +714,7 @@ void *platform_init (user_options_t *user_options) unit_t *unit_buf = &python_interpreter->units_buf[0]; - #if defined (_WIN) || defined (__APPLE__) + #if defined (_WIN) || defined (__CYGWIN__) || defined (__APPLE__) fprintf (stderr, "Attention!!! Falling back to single-threaded mode.\n"); fprintf (stderr, " Windows and MacOS ds not support multiprocessing module cleanly!\n"); fprintf (stderr, " For multithreading on Windows and MacOS, please use -m 72000 instead.\n\n");