aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-05-30 15:01:25 +0200
committerRickard Green <[email protected]>2013-05-30 15:01:25 +0200
commitbedb203fc337ae588e329f058f5ba6ec250f25e6 (patch)
tree9258c860506bc560a950d0dc00e137ef85e399c4 /erts/emulator/beam/erl_process.c
parent08bc75683f015bf7a542e30eb6ef88b18112fb22 (diff)
parente794251f8e54d6697e1bcc360471fd76b20c7748 (diff)
downloadotp-bedb203fc337ae588e329f058f5ba6ec250f25e6.tar.gz
otp-bedb203fc337ae588e329f058f5ba6ec250f25e6.tar.bz2
otp-bedb203fc337ae588e329f058f5ba6ec250f25e6.zip
Merge branch 'maint'
* maint: Introduce a better id allocation algorithm for PTabs
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 7415a5721f..bb3e787401 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -485,7 +485,7 @@ release_process(void *vproc)
/* initialize the scheduler */
void
-erts_init_process(int ncpu, int proc_tab_size)
+erts_init_process(int ncpu, int proc_tab_size, int legacy_proc_tab)
{
#ifdef ERTS_SMP
@@ -505,7 +505,8 @@ erts_init_process(int ncpu, int proc_tab_size)
(ErtsPTabElementCommon *) &erts_invalid_process.common,
proc_tab_size,
sizeof(Process),
- "process_table");
+ "process_table",
+ legacy_proc_tab);
last_reductions = 0;
last_exact_reductions = 0;