diff options
author | Sverker Eriksson <[email protected]> | 2018-03-01 16:36:17 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-02 19:16:48 +0100 |
commit | b31750711daa35011c62898d2eb424332e170bcc (patch) | |
tree | b1501632709de066436d93f63f8bffed915fd39e /erts/emulator/beam/erl_async.h | |
parent | c10e3e1fc83cbccd1c8c3b377e2309ea8fa27572 (diff) | |
download | otp-b31750711daa35011c62898d2eb424332e170bcc.tar.gz otp-b31750711daa35011c62898d2eb424332e170bcc.tar.bz2 otp-b31750711daa35011c62898d2eb424332e170bcc.zip |
erts: Refactor DistEntry.status flags into a state
Just to simplify and get 4 distinctive states
IDLE, PENDING, CONNECTED and EXITING.
The old possible flag combos were:
0
PENDING
CONNECTED
CONNECTED|EXITING
EXITING
The two EXITING states did not serve any purpose
other then as a slight optimization in monitor_node(_,false,_)
to shortcut EXITING when there can be no monitors.
Diffstat (limited to 'erts/emulator/beam/erl_async.h')
0 files changed, 0 insertions, 0 deletions