aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_utils.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-07-10 15:08:16 +0200
committerRickard Green <[email protected]>2013-07-10 15:08:16 +0200
commita8e229046356fadaa217d1a1606fde750d1e8aa1 (patch)
tree82600f7c06ddbacb0e976989b9251171a2658097 /erts/emulator/beam/erl_utils.h
parent393a6c033b7291679eab525cd599024de8b28eec (diff)
parent75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487 (diff)
downloadotp-a8e229046356fadaa217d1a1606fde750d1e8aa1.tar.gz
otp-a8e229046356fadaa217d1a1606fde750d1e8aa1.tar.bz2
otp-a8e229046356fadaa217d1a1606fde750d1e8aa1.zip
Merge branch 'maint'
* maint: Add test cases for native atomics and jump table Refuse to build SMP runtime by default without native atomics Make information about use of jump table available via system_info BIF Make ethread library information available via system_info BIF Make emulator arguments available via the system_info BIF
Diffstat (limited to 'erts/emulator/beam/erl_utils.h')
-rw-r--r--erts/emulator/beam/erl_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_utils.h b/erts/emulator/beam/erl_utils.h
index a2064bd8a3..80d29d554a 100644
--- a/erts/emulator/beam/erl_utils.h
+++ b/erts/emulator/beam/erl_utils.h
@@ -24,6 +24,8 @@
#include "erl_smp.h"
#include "erl_printf.h"
+struct process;
+
typedef struct {
#ifdef DEBUG
int smp_api;
@@ -155,6 +157,9 @@ Uint32 block_hash(byte *, unsigned, Uint32);
Uint32 make_hash2(Eterm);
Uint32 make_hash(Eterm);
+void erts_save_emu_args(int argc, char **argv);
+Eterm erts_get_emu_args(struct process *c_p);
+Eterm erts_get_ethread_info(struct process * c_p);
Eterm erts_bld_atom(Uint **hpp, Uint *szp, char *str);
Eterm erts_bld_uint(Uint **hpp, Uint *szp, Uint ui);