aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/kernel_refc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/kernel_refc.erl')
-rw-r--r--lib/kernel/src/kernel_refc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/kernel_refc.erl b/lib/kernel/src/kernel_refc.erl
index 3ad68e9ff9..05076dc885 100644
--- a/lib/kernel/src/kernel_refc.erl
+++ b/lib/kernel/src/kernel_refc.erl
@@ -38,7 +38,7 @@ start_link() ->
-spec scheduler_wall_time(boolean()) -> boolean().
scheduler_wall_time(Bool) ->
- gen_server:call(kernel_refc, {scheduler_wall_time, self(), Bool}).
+ gen_server:call(kernel_refc, {scheduler_wall_time, self(), Bool}, infinity).
%%-----------------------------------------------------------------
%% Callback functions from gen_server
@@ -136,4 +136,4 @@ cleanup(Resource, Cnt0, Pid) ->
any(Cnt) -> maps:size(Cnt) > 0.
resource(scheduler_wall_time, Enable) ->
- _ = erlang:system_flag(scheduler_wall_time, Enable).
+ _ = erts_internal:scheduler_wall_time(Enable).