aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_tcp_dist.erl
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2013-02-01 22:16:09 +0100
committerVlad Dumitrescu <[email protected]>2013-02-01 22:16:09 +0100
commitc14a046f40dee9915aa2d3d7d351bd80a630db61 (patch)
tree8b6693ec8bb329eabf4875898754061f846bb2a3 /lib/kernel/src/inet_tcp_dist.erl
parent68b804f34d4ec420d86953e3f519179a40fbee8f (diff)
downloadotp-c14a046f40dee9915aa2d3d7d351bd80a630db61.tar.gz
otp-c14a046f40dee9915aa2d3d7d351bd80a630db61.tar.bz2
otp-c14a046f40dee9915aa2d3d7d351bd80a630db61.zip
Add a new function code:get_mode() can be used to detect how the code servers behaves
Rationale: Some applications (like erlide) have code to be loaded dynamically on a node. It may be slow to load everything upfront every time, so if the node is in interactive mode, we would like to just append to the load path. Currently, there is no direct way to detect if the node is running in embedded mode or not so that we can do the right thing.
Diffstat (limited to 'lib/kernel/src/inet_tcp_dist.erl')
0 files changed, 0 insertions, 0 deletions