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/erl_drv_nif.h | |
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/erl_drv_nif.h')
-rw-r--r-- | erts/emulator/beam/erl_drv_nif.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_drv_nif.h b/erts/emulator/beam/erl_drv_nif.h index 2700b62854..6ec5fbb895 100644 --- a/erts/emulator/beam/erl_drv_nif.h +++ b/erts/emulator/beam/erl_drv_nif.h @@ -43,12 +43,11 @@ typedef struct { int suggested_stack_size; } ErlDrvThreadOpts; -#if defined(ERL_DRV_DIRTY_SCHEDULER_SUPPORT) || defined(ERL_NIF_DIRTY_SCHEDULER_SUPPORT) + typedef enum { - ERL_DRV_DIRTY_JOB_CPU_BOUND = 1, - ERL_DRV_DIRTY_JOB_IO_BOUND = 2 -} ErlDrvDirtyJobFlags; -#endif + ERL_DIRTY_JOB_CPU_BOUND = 1, + ERL_DIRTY_JOB_IO_BOUND = 2 +} ErlDirtyJobFlags; #ifdef SIZEOF_CHAR # define SIZEOF_CHAR_SAVED__ SIZEOF_CHAR |