diff options
author | Rickard Green <[email protected]> | 2016-04-15 11:24:14 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-05-10 16:22:51 +0200 |
commit | 0aa5f873fdfb391a455bc134256b7c464ffa161b (patch) | |
tree | c115d755e2d01b3508a82893504f064a59c618f7 /erts/emulator/beam/io.c | |
parent | 8bc9c88cd98bbbcc18265a7aed830b73f5133cf6 (diff) | |
download | otp-0aa5f873fdfb391a455bc134256b7c464ffa161b.tar.gz otp-0aa5f873fdfb391a455bc134256b7c464ffa161b.tar.bz2 otp-0aa5f873fdfb391a455bc134256b7c464ffa161b.zip |
Remove conditional dirty schedulers API
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index b9f6ab04c6..c35d80652f 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -7881,11 +7881,13 @@ driver_system_info(ErlDrvSysInfo *sip, size_t si_size) * (driver version 3.1, NIF version 2.7) */ if (si_size >= ERL_DRV_SYS_INFO_SIZE(dirty_scheduler_support)) { -#if defined(ERL_NIF_DIRTY_SCHEDULER_SUPPORT) && defined(USE_THREADS) - sip->dirty_scheduler_support = 1; + sip->dirty_scheduler_support = +#ifdef ERTS_DIRTY_SCHEDULERS + 1 #else - sip->dirty_scheduler_support = 0; + 0 #endif + ; } } |