Disable SIGIO notifier on WSL

It currently does not trigger the uvar notifier and fails the automated
tests.

See #7429.
This commit is contained in:
Mahmoud Al-Qudsi 2020-11-06 20:48:25 -06:00
parent ea1dffd53d
commit 640f4444f5

View File

@ -1572,6 +1572,10 @@ universal_notifier_t::notifier_strategy_t universal_notifier_t::resolve_default_
#elif defined(__CYGWIN__)
return strategy_shmem_polling;
#elif defined(SIGIO)
// The SIGIO notifier does not yet work on WSL. See #7429
if (is_windows_subsystem_for_linux()) {
return strategy_named_pipe;
}
return strategy_sigio;
#else
return strategy_named_pipe;