diff options
author | vnugent <public@vaughnnugent.com> | 2024-05-31 15:12:20 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-05-31 15:12:20 -0400 |
commit | 2160510fcc22a8574b0090fd91ca29072f45ab59 (patch) | |
tree | 74ee9910ffca63fc148071cf0efff315db3c80a4 /lib/Utils | |
parent | 51cb4eb93e4f1b4c47d35b105e72af1fe771abcc (diff) |
refactor: Immutable tcp listeners
Diffstat (limited to 'lib/Utils')
-rw-r--r-- | lib/Utils/src/Async/AsyncQueue.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Utils/src/Async/AsyncQueue.cs b/lib/Utils/src/Async/AsyncQueue.cs index e94d08e..ddd2da5 100644 --- a/lib/Utils/src/Async/AsyncQueue.cs +++ b/lib/Utils/src/Async/AsyncQueue.cs @@ -60,7 +60,9 @@ namespace VNLib.Utils.Async /// </summary> /// <param name="singleWriter">A value that specifies only a single thread be enqueing items?</param> /// <param name="singleReader">A value that specifies only a single thread will be dequeing</param> - /// <param name="capacity">The maxium number of items to enque without failing</param> + /// <param name="capacity"> + /// The maxium number of items to enque without failing. If set to <see cref="int.MaxValue"/> maximum is disabled + /// </param> public AsyncQueue(bool singleWriter, bool singleReader, int capacity = int.MaxValue) { if(capacity == int.MaxValue) |