aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_thr_progress.h
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2013-04-04 17:53:56 +0200
committerErlang/OTP <[email protected]>2013-04-04 17:53:56 +0200
commit858f7b67cd0ecb60f10054de8049d7e1a250bd25 (patch)
tree3bee0f16cbcfc3ddde16f330b97435e08f64fe84 /erts/emulator/beam/erl_thr_progress.h
parente92c2cdb870695412254a75b6400c8723b1b95f1 (diff)
parent1e282b7b0c092f8f4619383741262583ff99b64c (diff)
downloadotp-858f7b67cd0ecb60f10054de8049d7e1a250bd25.tar.gz
otp-858f7b67cd0ecb60f10054de8049d7e1a250bd25.tar.bz2
otp-858f7b67cd0ecb60f10054de8049d7e1a250bd25.zip
Merge branch 'rickard/thr_prgr_later_op/OTP-10994' into maint-r16
* rickard/thr_prgr_later_op/OTP-10994: Make port close not be delayed Be less eager requesting wakeup for cleanup jobs
Diffstat (limited to 'erts/emulator/beam/erl_thr_progress.h')
-rw-r--r--erts/emulator/beam/erl_thr_progress.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_thr_progress.h b/erts/emulator/beam/erl_thr_progress.h
index 1416aa6166..1aeecf2b06 100644
--- a/erts/emulator/beam/erl_thr_progress.h
+++ b/erts/emulator/beam/erl_thr_progress.h
@@ -108,6 +108,8 @@ struct ErtsThrPrgrLaterOp_ {
#ifdef ERTS_SMP
+/* ERTS_THR_PRGR_VAL_FIRST should only be used when initializing... */
+#define ERTS_THR_PRGR_VAL_FIRST ((ErtsThrPrgrVal) 0)
#define ERTS_THR_PRGR_VAL_WAITING (~((ErtsThrPrgrVal) 0))
#define ERTS_THR_PRGR_INVALID (~((ErtsThrPrgrVal) 0))