diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-01-05 11:27:50 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-01-13 11:46:18 +0000 |
commit | aaddbc39b4c7024b3c12f2eb5ac627d482f6af42 (patch) | |
tree | e04fbad927064fb5e9590151cdadcaf5147e6099 /vespalib | |
parent | 888ca63a201a8d2e471a201eea127dc319a3fc8b (diff) |
- Add support for using an unbound Q -> nonblocking.
- It uses a synchronized overflow Q if the main Q is full.
- Long term it is the intention that the blocking option will be removed.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/arrayqueue.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespalib/src/vespa/vespalib/util/arrayqueue.hpp b/vespalib/src/vespa/vespalib/util/arrayqueue.hpp index 73e70e7fd89..8f3dd8ab006 100644 --- a/vespalib/src/vespa/vespalib/util/arrayqueue.hpp +++ b/vespalib/src/vespa/vespalib/util/arrayqueue.hpp @@ -2,11 +2,11 @@ #pragma once -#include <stdint.h> -#include <stdlib.h> +#include "traits.h" +#include <cstdint> +#include <cstdlib> #include <cassert> #include <algorithm> -#include "traits.h" namespace vespalib { |