aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-03-21 14:54:00 +0100
committerPatrik Nyblom <[email protected]>2012-03-22 18:16:15 +0100
commit560cea59eeee117f0170772d4edee820b6fc96d9 (patch)
treeacffd54135b02ae2c0f4a4e8c4fa38ec31fd7c9c /lib/kernel
parentc79e1106853bcfdabe7325a7073ce911ef75afaa (diff)
downloadotp-560cea59eeee117f0170772d4edee820b6fc96d9.tar.gz
otp-560cea59eeee117f0170772d4edee820b6fc96d9.tar.bz2
otp-560cea59eeee117f0170772d4edee820b6fc96d9.zip
Rename dyntrace BIFs to more suiting names
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/file.erl4
-rw-r--r--lib/kernel/src/file_io_server.erl6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/kernel/src/file.erl b/lib/kernel/src/file.erl
index b281151778..e2290f6a23 100644
--- a/lib/kernel/src/file.erl
+++ b/lib/kernel/src/file.erl
@@ -1416,10 +1416,10 @@ mode_list(_) ->
%% Functions for communicating with the file server
call(Command, Args) when is_list(Args) ->
- X = erlang:spread_utag(true),
+ X = erlang:dt_spread_tag(true),
Y = gen_server:call(?FILE_SERVER, list_to_tuple([Command | Args]),
infinity),
- erlang:restore_utag(X),
+ erlang:dt_restore_tag(X),
Y.
check_and_call(Command, Args) when is_list(Args) ->
diff --git a/lib/kernel/src/file_io_server.erl b/lib/kernel/src/file_io_server.erl
index 6369a5250c..7311ad9fee 100644
--- a/lib/kernel/src/file_io_server.erl
+++ b/lib/kernel/src/file_io_server.erl
@@ -57,11 +57,11 @@ start_link(Owner, FileName, ModeList)
do_start(Spawn, Owner, FileName, ModeList) ->
Self = self(),
Ref = make_ref(),
- Utag = erlang:spread_utag(true),
+ Utag = erlang:dt_spread_tag(true),
Pid =
erlang:Spawn(
fun() ->
- erlang:restore_utag(Utag),
+ erlang:dt_restore_tag(Utag),
%% process_flag(trap_exit, true),
case parse_options(ModeList) of
{ReadMode, UnicodeMode, Opts} ->
@@ -86,7 +86,7 @@ do_start(Spawn, Owner, FileName, ModeList) ->
exit(Reason1)
end
end),
- erlang:restore_utag(Utag),
+ erlang:dt_restore_tag(Utag),
Mref = erlang:monitor(process, Pid),
receive
{Ref, {error, _Reason} = Error} ->