diff options
author | Rickard Green <[email protected]> | 2017-11-28 14:17:24 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2017-12-19 12:02:39 +0100 |
commit | 7f6ac587f47bd115604c7c9d1504e66cafffd265 (patch) | |
tree | 9259844622bbff3db2d32e01ab782359ab5e2404 /lib/kernel | |
parent | d4341cd249d728174fce580bd018e1e8b402d161 (diff) | |
download | otp-7f6ac587f47bd115604c7c9d1504e66cafffd265.tar.gz otp-7f6ac587f47bd115604c7c9d1504e66cafffd265.tar.bz2 otp-7f6ac587f47bd115604c7c9d1504e66cafffd265.zip |
Redirect system_flag(scheduler_wall_time,_) to kernel_refc
Diffstat (limited to 'lib/kernel')
-rw-r--r-- | lib/kernel/src/kernel_refc.erl | 4 |
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). |