From 0dda754f6eb91af15f7c69523e2ebb627086b457 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 27 Jul 2016 15:29:28 +0200 Subject: irmd: Revised flow allocation Flow allocation requests and registered api states revised so all states are tracked with a condition variable. This is a more reliable approach and improves stability of flow allocation. Some other refactoring was also done, such as renaming port_map_entry to irm_flow and hiding some internal structures of the registry. --- include/ouroboros/shared.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ouroboros/shared.h b/include/ouroboros/shared.h index f5e34dc8..9ee9df21 100644 --- a/include/ouroboros/shared.h +++ b/include/ouroboros/shared.h @@ -32,7 +32,8 @@ enum qos_cube { enum flow_state { FLOW_NULL = 0, FLOW_PENDING, - FLOW_ALLOCATED + FLOW_ALLOCATED, + FLOW_DESTROY }; #endif /* OUROBOROS_SHARED_H */ -- cgit v1.2.3