threadStackOverflow: check whether stack squeezing released some stack (#3677)
[ghc-hetmet.git] / includes / rts / Constants.h
index 82f3bdd..8ebe16a 100644 (file)
  */
 #define TSO_MARKED 64
 
+/*
+ * Used to communicate between stackSqueeze() and
+ * threadStackOverflow() that a thread's stack was squeezed and the
+ * stack may not need to be expanded.
+ */
+#define TSO_SQUEEZED 128
+
 /* -----------------------------------------------------------------------------
    RET_DYN stack frames
    -------------------------------------------------------------------------- */