summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-04-18 18:11:43 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-30 16:17:59 -0500
commit56257a44e408b7491090b47e24b22beeb1cfd35e (patch)
tree7092cbbd51fcdb93b179de8cf73188fb72ccd971 /lib/thread.h
parent0ca8b79f38c697c0c159518245f3bdb217157944 (diff)
bgpd: move bgp i/o to a separate source file
After implement threading, bgp_packet.c was serving the double purpose of consolidating packet parsing functionality and handling actual I/O operations. This is somewhat messy and difficult to understand. I've thus moved all code and data structures for handling threaded packet writes to bgp_io.[ch]. Although bgp_io.[ch] only handles writes at the moment to keep the noise on this commit series down, for organization purposes, it's probably best to move bgp_read() and its trappings into here as well and restructure that code so that read()'s happen in the pthread and packet processing happens on the main thread. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.h')
0 files changed, 0 insertions, 0 deletions