aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_fsm.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-04-06 16:03:11 +0200
committerIngela Anderton Andin <[email protected]>2017-04-27 11:07:38 +0200
commitc6bdd67b33b70d862e2a2d0f582106f2e930d970 (patch)
tree6d8f9b0661466c4c36d88e8ee7666c4b8a0754c0 /lib/stdlib/src/gen_fsm.erl
parenta1100c46c2ca2121d723edc03cb7885e3014af7c (diff)
downloadotp-c6bdd67b33b70d862e2a2d0f582106f2e930d970.tar.gz
otp-c6bdd67b33b70d862e2a2d0f582106f2e930d970.tar.bz2
otp-c6bdd67b33b70d862e2a2d0f582106f2e930d970.zip
stdlib: Deprecate gen_fsm
Diffstat (limited to 'lib/stdlib/src/gen_fsm.erl')
-rw-r--r--lib/stdlib/src/gen_fsm.erl20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/stdlib/src/gen_fsm.erl b/lib/stdlib/src/gen_fsm.erl
index e925a75fe8..0c76e97741 100644
--- a/lib/stdlib/src/gen_fsm.erl
+++ b/lib/stdlib/src/gen_fsm.erl
@@ -124,6 +124,26 @@
system_replace_state/2,
format_status/2]).
+-deprecated({start, 3, next_major_release}).
+-deprecated({start, 4, next_major_release}).
+-deprecated({start_link, 3, next_major_release}).
+-deprecated({start_link, 4, next_major_release}).
+-deprecated({stop, 1, next_major_release}).
+-deprecated({stop, 3, next_major_release}).
+-deprecated({send_event, 2, next_major_release}).
+-deprecated({sync_send_event, 2, next_major_release}).
+-deprecated({sync_send_event, 3, next_major_release}).
+-deprecated({send_all_state_event, 2, next_major_release}).
+-deprecated({sync_send_all_state_event, 2, next_major_release}).
+-deprecated({sync_send_all_state_event, 3, next_major_release}).
+-deprecated({reply, 2, next_major_release}).
+-deprecated({start_timer, 2, next_major_release}).
+-deprecated({send_event_after, 2, next_major_release}).
+-deprecated({cancel_timer, 1, next_major_release}).
+-deprecated({enter_loop, 4, next_major_release}).
+-deprecated({enter_loop, 5, next_major_release}).
+-deprecated({enter_loop, 6, next_major_release}).
+
-import(error_logger, [format/2]).
%%% ---------------------------------------------------