aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorhappi <[email protected]>2013-05-03 16:25:37 +0200
committerPatrik Nyblom <[email protected]>2013-06-04 17:59:48 +0200
commit6d366f0ae53669a17de96db0094ef62217b60f1b (patch)
treeed795e9521c0becd69714a2aab21968b9e8e4a59 /erts/emulator/beam/erl_process.h
parentf7f24a77e918eea712b435a5ae9b01de270d6d7d (diff)
downloadotp-6d366f0ae53669a17de96db0094ef62217b60f1b.tar.gz
otp-6d366f0ae53669a17de96db0094ef62217b60f1b.tar.bz2
otp-6d366f0ae53669a17de96db0094ef62217b60f1b.zip
Make term_to_binary yield (trap).
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index 865ac6c43f..fca83dba8f 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -792,6 +792,11 @@ struct process {
ErlMessageQueue msg; /* Message queue */
+ Eterm *extra_root; /* Extra root set, used e.g. by yielding bifs. */
+ Uint extra_root_sz; /* Size of extra root set. */
+ ErtsAlcType_t extra_root_allocator; /* Type of memory allocator used,
+ used for freeing extra_root if process dies. */
+
union {
ErtsBifTimer *bif_timers; /* Bif timers aiming at this process */
void *terminate;