]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add lock and busy counter for zclients
authorMark Stapp <mjs@voltanet.io>
Tue, 7 Apr 2020 13:50:53 +0000 (09:50 -0400)
committerMark Stapp <mjs@voltanet.io>
Tue, 2 Jun 2020 12:20:54 +0000 (08:20 -0400)
commitaa9002a5f5ef55e4c99c99601b4aa5a164d08bbf
tree31cf9479538c3c3bdaca25a4bb8320391b812eb6
parent9bb02389d0423941e328c88b38e241aa722229d0
zebra: add lock and busy counter for zclients

Add a mutex used to manage the list of zclients. Add a busy
counter to the zapi client session, so that we can use a
client session from another pthread.

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