aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/kernel.app.src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-11-20 15:23:24 +0100
committerDan Gudmundsson <[email protected]>2017-12-01 15:24:02 +0100
commitd4341cd249d728174fce580bd018e1e8b402d161 (patch)
treeda490e0cd419bf3413f4d55992e659e23ecbb6e7 /lib/kernel/src/kernel.app.src
parenta90b3712dcec20c96eeeecbabc2672ec67c7d89a (diff)
downloadotp-d4341cd249d728174fce580bd018e1e8b402d161.tar.gz
otp-d4341cd249d728174fce580bd018e1e8b402d161.tar.bz2
otp-d4341cd249d728174fce580bd018e1e8b402d161.zip
kernel: add a resource reference counter
System resources/functionality may need to be reference counted to be handled correctly when used or enabled/disabled from more than one process or application. It is easier to handle this in erlang code than in erts, so make a process that deals with the housekeeping.
Diffstat (limited to 'lib/kernel/src/kernel.app.src')
-rw-r--r--lib/kernel/src/kernel.app.src2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kernel/src/kernel.app.src b/lib/kernel/src/kernel.app.src
index 080b11fc4d..3136db8267 100644
--- a/lib/kernel/src/kernel.app.src
+++ b/lib/kernel/src/kernel.app.src
@@ -57,6 +57,7 @@
inet_tcp_dist,
kernel,
kernel_config,
+ kernel_refc,
local_tcp,
local_udp,
net,
@@ -107,6 +108,7 @@
heart,
init,
kernel_config,
+ kernel_refc,
kernel_sup,
net_kernel,
net_sup,