aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.h
diff options
context:
space:
mode:
authorNikolaos S. Papaspyrou <[email protected]>2012-06-09 01:12:50 +0300
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:44 +0100
commitf3ae60838a5e8c83cfdd3000e25562dfcbbd438d (patch)
tree9694785b1135194cb22de60e8ce64965fe5ded59 /erts/emulator/beam/erl_message.h
parentcfe998988c942bed0fbf026c00a2531fdf5aba7c (diff)
downloadotp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.gz
otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.bz2
otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.zip
Enable shcopy for sending messages
Diffstat (limited to 'erts/emulator/beam/erl_message.h')
-rw-r--r--erts/emulator/beam/erl_message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_message.h b/erts/emulator/beam/erl_message.h
index 740ae46a0f..0de36c3199 100644
--- a/erts/emulator/beam/erl_message.h
+++ b/erts/emulator/beam/erl_message.h
@@ -238,6 +238,11 @@ do { \
#define ERTS_SND_FLG_NO_SEQ_TRACE (((unsigned) 1) << 0)
+#define ERTS_SND_FLG_SHCOPY_SHIFT 1
+#define ERTS_SND_FLG_SHCOPY_MASK (ERTS_SHCOPY_FLG_MASK << ERTS_SND_FLG_SHCOPY_SHIFT)
+#define ERTS_SND_FLG_SHCOPY_NONE (ERTS_SHCOPY_FLG_NONE << ERTS_SND_FLG_SHCOPY_SHIFT)
+#define ERTS_SND_FLG_SHCOPY_TMP_BUF (ERTS_SHCOPY_FLG_TMP_BUF << ERTS_SND_FLG_SHCOPY_SHIFT)
+
#define ERTS_HEAP_FRAG_SIZE(DATA_WORDS) \
(sizeof(ErlHeapFragment) - sizeof(Eterm) + (DATA_WORDS)*sizeof(Eterm))