diff options
author | Mark Stapp <mjs@voltanet.io> | 2018-12-11 20:17:42 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2018-12-13 10:56:00 +0100 |
commit | dded2aba4ad0d7f1d123b6a8b659e7a75b1caac6 (patch) | |
tree | 4d96dcb67ffc0552329bca7f3fc30426f3b294dc /zebra/zserv.h | |
parent | topotests: Add a basic route leak vrf test (diff) | |
download | frr-dded2aba4ad0d7f1d123b6a8b659e7a75b1caac6.tar.xz frr-dded2aba4ad0d7f1d123b6a8b659e7a75b1caac6.zip |
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>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r-- | zebra/zserv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index f7967f54f..5051a2520 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -73,6 +73,9 @@ struct zserv { struct thread *t_read; struct thread *t_write; + /* Event for message processing, for the main pthread */ + struct thread *t_process; + /* Threads for the main pthread */ struct thread *t_cleanup; |