aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-04-18 11:31:27 +0200
committerPatrik Nyblom <[email protected]>2012-04-18 11:31:27 +0200
commit00668f8cbae565d482e9ad72a63f846cef8e8071 (patch)
tree408683cfdc04303c0e9ddeb9340a4d02b6da9254 /erts/emulator/beam/io.c
parentf21ff0941a68ef8bc1097537f4bb503a522a8bf3 (diff)
downloadotp-00668f8cbae565d482e9ad72a63f846cef8e8071.tar.gz
otp-00668f8cbae565d482e9ad72a63f846cef8e8071.tar.bz2
otp-00668f8cbae565d482e9ad72a63f846cef8e8071.zip
Revert "Extend erlang:port_info/1,2 to show the OS pid of a spawned process"
This reverts commit d4667d383964c1550e0a91d64b674e84f6d07e3b. This commit was included by mistake, the correct patch will be merged from maint.
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index a685f41c4d..53a25f5136 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -440,7 +440,6 @@ setup_port(Port* prt, Eterm pid, erts_driver_t *driver,
sys_strcpy(new_name, name);
erts_smp_runq_lock(runq);
erts_smp_port_state_lock(prt);
- prt->os_pid = -1;
prt->status = ERTS_PORT_SFLG_CONNECTED | xstatus;
prt->snapshot = erts_smp_atomic32_read_nob(&erts_ports_snapshot);
old_name = prt->name;