diff options
author | Nikolaos S. Papaspyrou <[email protected]> | 2012-06-09 01:12:50 +0300 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-11-17 14:45:44 +0100 |
commit | f3ae60838a5e8c83cfdd3000e25562dfcbbd438d (patch) | |
tree | 9694785b1135194cb22de60e8ce64965fe5ded59 /erts/emulator/beam/global.h | |
parent | cfe998988c942bed0fbf026c00a2531fdf5aba7c (diff) | |
download | otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.gz otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.bz2 otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.zip |
Enable shcopy for sending messages
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index c2056dafaa..a5e6ff6f1c 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1075,6 +1075,13 @@ typedef struct shcopy_info { ErtsAlcType_t shtable_alloc_type; } shcopy_info; +#define INITIALIZE_INFO(info) \ +do { \ + info.queue_start = info.queue_default; \ + info.bitstore_start = info.bitstore_default; \ + info.shtable_start = info.shtable_default; \ +} while(0) + #define DESTROY_INFO(info) \ do { \ if (info.queue_start != info.queue_default) { \ |