Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The main read thread, to read semaphore-protected shared memory.
  2. A blocking listening thread that waits for interface status messages on a Netlink socket.  When a message is received, it is placed in shared memory (a ring bufferlinked list).

A linked list of interface name and status combinations is stored in shared memory.  The Netlink-listening thread waits for incoming messages and either:

...