summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2018-06-29 12:41:02 -0500
committerGitHub <noreply@github.com>2018-06-29 12:41:02 -0500
commit20e5fd7ab52d37a0fade8dc6cd5b6070779a484d (patch)
tree4f2d03607e80e303892ec6757b19679a43045dda /lib/stream.h
parentb46f306ed5b0f591d9081ec68e737538e4ce746e (diff)
parent87270023ebb5d29f5ef7a583f919004ad2326560 (diff)
Merge pull request #2532 from donaldsharp/various_stuff
Redistribution and some extra developer debug code
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stream.h b/lib/stream.h
index e5d325e43e..11af85c663 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -115,6 +115,9 @@ struct stream_fifo {
/* number of streams in this fifo */
_Atomic size_t count;
+#if defined DEV_BUILD
+ _Atomic size_t max_count;
+#endif
struct stream *head;
struct stream *tail;