summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-13 15:47:55 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-13 15:47:55 +0200
commit20921b8300d1699d8b0133b3f5fc360fdd99fc0d (patch)
tree5192d254611ec919edf4596152ed5c041463acf2 /src/irmd/irm_flow.h
parent550e7892e47cf8daf351eb773ef3900b33ecabae (diff)
downloadouroboros-20921b8300d1699d8b0133b3f5fc360fdd99fc0d.tar.gz
ouroboros-20921b8300d1699d8b0133b3f5fc360fdd99fc0d.zip
lib: Fix flow deallocation logic
Both the N and N-1 entity must now call flow_dealloc for the port_id to be released.
Diffstat (limited to 'src/irmd/irm_flow.h')
-rw-r--r--src/irmd/irm_flow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h
index db6598bf..5ec6d90e 100644
--- a/src/irmd/irm_flow.h
+++ b/src/irmd/irm_flow.h
@@ -31,8 +31,9 @@
enum flow_state {
FLOW_NULL = 0,
- FLOW_PENDING,
+ FLOW_ALLOC_PENDING,
FLOW_ALLOCATED,
+ FLOW_DEALLOC_PENDING,
FLOW_DESTROY
};