#![feature(drain_filter)]/// Define engine limitations
pubmodlibconfig{/// Maximum number of threads that can be used at once.
/// Set to 0 find some "optimal" value based on the available number of logical cores.
/// The allocated thread id's cannot exceed this hard limit, #see threadid.
pubconstMAX_THREAD_COUNT:usize=0;/// Preferred number of threads used for data/task processing
/// Set to 0 find some "optimal" value based on the available number of logical cores.
pubconstPREFERRED_THREAD_COUNT:usize=0;}pubmodarena;pubmodnamedstore;pubmodspscstate;pubmodstdext;pubmodtime;pubmodunnamedstore;