]> git.proxmox.com Git - mirror_frr.git/commit - lib/event.c
lib: Add check for non-preexisting thread
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 13 Jun 2019 02:27:29 +0000 (22:27 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 13 Jun 2019 19:14:04 +0000 (15:14 -0400)
commit1ef14bee7aa063a939a3bffb11e2931c23fdf8f5
tree976b5671274b10448ff2747c817a6ea34b9f830a
parent45f3d590846a45836e287dbb208a2fed61db431a
lib: Add check for non-preexisting thread

When adding a read/write poll event and we are using a developmental
build add a bit of code to ensure that we do not already have an read
or write event scheduled.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c