~georgeunix-5/lwan-unofficial/master

Viewing all changes in revision 2023.

  • Committer: Leandro Pereira
  • Date: 2018-08-11 05:40:00 UTC
  • Revision ID: git-v1:c099be9ba6be9e23d8d1dffb3cdabc846ba3ce6e
Pre-schedule all client connections to reduce MOD operations

Pre-calculate the mapping between file descriptors and threads during
startup and only reference that.  In the future this should learn about
the CPU topology and build the correct map (using the current scheme as
the fallback mechanism for Linux without /proc or /sys, or non-Linux
systems).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: