]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zserv.h
zebra: make incoming zserv message-processing a singleton event
authorMark Stapp <mjs@voltanet.io>
Tue, 11 Dec 2018 19:17:42 +0000 (14:17 -0500)
committerMark Stapp <mjs@voltanet.io>
Thu, 13 Dec 2018 09:56:00 +0000 (04:56 -0500)
commitdded2aba4ad0d7f1d123b6a8b659e7a75b1caac6
tree4d96dcb67ffc0552329bca7f3fc30426f3b294dc
parentb7822d201632aaf7c24bc3b3a57c4e3f5ad92f7a
zebra: make incoming zserv message-processing a singleton event

Stop creating individual, one-time events as each batch of
incoming zserv/zapi messages is processed - use a singleton
event so that the incoming message activity is more fair if
the zebra main pthread has other events to run.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zserv.c
zebra/zserv.h