]> git.puffer.fish Git - mirror/frr.git/commit
lib: convert GRPC plugin to async 6368/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 6 May 2020 23:36:19 +0000 (19:36 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 8 May 2020 19:50:11 +0000 (15:50 -0400)
commitecf9fb30b75370c1354d07ae215c4950e5131dd8
tree616b0f1f5650df4fc25d5a04923c8f73128c0d70
parent0edcb505a347c8dde01c9217f627715273d0ed0f
lib: convert GRPC plugin to async

Synchronous GRPC services are called from arbitrary threads. This makes
access to anything outside the GRPC module unsafe. We need to convert
the plugin to use the async model that allows us to control our own
threads.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/northbound_grpc.cpp