32  using std::numeric_limits;
 
   33  using ret_int_t = uint16_t;
 
   38  return ret_int_t(sched_getcpu());
 
   40  static_assert(
false, 
"cpu_idx() implementation is for Linux.  " 
   41                         "Revisit for other OS and/or architectures (x86-64, ARM64, ...).");
 
Flow module containing tools enabling multi-threaded event loops operating under the asynchronous-tas...
uint16_t cpu_idx()
Returns the 0-based processor logical (not hardware) core index of the core executing the calling thr...