diff options
Diffstat (limited to 'src/base/fiber.hh')
-rw-r--r-- | src/base/fiber.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/fiber.hh b/src/base/fiber.hh index 5f7285b29..3d82075f0 100644 --- a/src/base/fiber.hh +++ b/src/base/fiber.hh @@ -44,6 +44,8 @@ #include <cstddef> #include <cstdint> +#include "config/have_valgrind.hh" + /** * This class represents a fiber, which is a light weight sort of thread which * is cooperatively scheduled and runs sequentially with other fibers, swapping @@ -106,6 +108,9 @@ class Fiber // The stack for this context, or a nullptr if allocated elsewhere. uint8_t *stack; size_t stackSize; +#if HAVE_VALGRIND + unsigned valgrindStackId; +#endif bool started; bool _finished; |