diff options
author | Rickard Green <[email protected]> | 2010-09-24 11:09:55 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-11-18 14:14:25 +0100 |
commit | f4aa12fc5f5756d7574311cf66cd5ec8025df682 (patch) | |
tree | c0b36f4aeb7a950b88b858b0b9975aad8668aaf4 /erts/emulator/beam/erl_process.c | |
parent | 728b62363b9ec6248d14438f36adf03f7d737f89 (diff) | |
download | otp-f4aa12fc5f5756d7574311cf66cd5ec8025df682.tar.gz otp-f4aa12fc5f5756d7574311cf66cd5ec8025df682.tar.bz2 otp-f4aa12fc5f5756d7574311cf66cd5ec8025df682.zip |
Generalize reader groups
Reader groups have been generalized to cpu groups which can be
used for implementing reader groups, but also for implementing
other functionality in the future.
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 4940344108..ee282ebbee 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -2854,10 +2854,10 @@ suspend_scheduler(ErtsSchedulerData *esdp) ASSERT(no != 1); - erts_sched_check_cpu_bind_prep_suspend(esdp); - erts_smp_runq_unlock(esdp->run_queue); + erts_sched_check_cpu_bind_prep_suspend(esdp); + if (erts_system_profile_flags.scheduler) profile_scheduler(make_small(esdp->no), am_inactive); |