summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/emu/msg_instrs.tab
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/emu/msg_instrs.tab')
-rw-r--r--erts/emulator/beam/emu/msg_instrs.tab6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/beam/emu/msg_instrs.tab b/erts/emulator/beam/emu/msg_instrs.tab
index 8aa725fc3d..dce164cb95 100644
--- a/erts/emulator/beam/emu/msg_instrs.tab
+++ b/erts/emulator/beam/emu/msg_instrs.tab
@@ -2,7 +2,7 @@
//
// %CopyrightBegin%
//
-// Copyright Ericsson AB 2017-2022. All Rights Reserved.
+// Copyright Ericsson AB 2017-2023. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -69,7 +69,11 @@ i_recv_set() {
}
recv_marker_reserve(Dst) {
+ SWAPOUT;
+
$Dst = erts_msgq_recv_marker_insert(c_p);
+
+ SWAPIN;
}
recv_marker_bind(Marker, Reference) {