jlouis / enacl

Erlang bindings for NaCl / libsodium
MIT License
197 stars 59 forks source link

Use dirty schedulers unconditionally #70

Open timofey-barmin opened 8 months ago

timofey-barmin commented 8 months ago

Remove check for ERL_NIF_DIRTY_JOB_CPU_BOUND for two reasons:

  1. ifdef ERL_NIF_DIRTY_JOB_CPU_BOUND check is incorrect because ERL_NIF_DIRTY_JOB_CPU_BOUND is a enum

  2. Erlang support for dirty schedulers is unconditional since 2016