aboutsummaryrefslogtreecommitdiff
path: root/lib/automake.mk
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-06-27 10:40:50 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:30:49 -0700
commit70e4e586e4aff1e369cacd721e874d9731253130 (patch)
tree9ac59a3f129a64b9dcabdb110d49d5138faf962e /lib/automake.mk
parentd41d4b714d29091dd502dd8705ef489467e11a43 (diff)
worker: New library for breaking a daemon into multiple processes.
ovs-vswitchd is effectively a "soft real-time" process, because flows that do not get set up quickly lead to packet loss or retransmission. We've done our best to keep it from blocking unnecessarily, but some operations unavoidably block. This new library allows a daemon to break itself up into a main process and a worker process, connected by an RPC channel, with the idea being that the main process will delegate any possibly blocking operations to the worker. This commit also modifies ovs-vswitchd to start a worker process, but it does not actually introduce any uses for the worker process. Upcoming commits will add those. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r--lib/automake.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/automake.mk b/lib/automake.mk
index 9bc6268f..b727fed6 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -199,7 +199,9 @@ lib_libopenvswitch_a_SOURCES = \
lib/vlog.c \
lib/vlog.h \
lib/vswitch-idl.c \
- lib/vswitch-idl.h
+ lib/vswitch-idl.h \
+ lib/worker.c \
+ lib/worker.h
nodist_lib_libopenvswitch_a_SOURCES = \
lib/dirs.c