aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erl_driver.xml
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-07-14 11:07:33 +0200
committerLukas Larsson <[email protected]>2015-12-15 10:05:43 +0100
commit91c1876f70870f450f7e8fd3b02f2396067e3cb8 (patch)
tree7b934e29cae28d7ab4467f4d37aaa6d769100555 /erts/doc/src/erl_driver.xml
parent4b98e710b9c45481c1cdc7a4ee68f7ce7fca908a (diff)
downloadotp-91c1876f70870f450f7e8fd3b02f2396067e3cb8.tar.gz
otp-91c1876f70870f450f7e8fd3b02f2396067e3cb8.tar.bz2
otp-91c1876f70870f450f7e8fd3b02f2396067e3cb8.zip
erts: Add erl_drv_set_pid
OTP-13087
Diffstat (limited to 'erts/doc/src/erl_driver.xml')
-rw-r--r--erts/doc/src/erl_driver.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml
index a2a1df37e5..ef6d69cbeb 100644
--- a/erts/doc/src/erl_driver.xml
+++ b/erts/doc/src/erl_driver.xml
@@ -2159,6 +2159,25 @@ ERL_DRV_MAP int sz
</func>
<func>
+ <name><ret>void</ret><nametext>erl_drv_set_os_pid(ErlDrvPort port, ErlDrvSInt pid)</nametext></name>
+ <fsummary>Set the os_pid for the port</fsummary>
+ <desc>
+ <marker id="erl_drv_set_os_pid"></marker>
+ <p>Arguments:</p>
+ <taglist>
+ <tag><c>port</c></tag>
+ <item>The port handle of the port (driver instance) to set the pid on.
+ </item>
+ <tag><c>pid</c></tag>
+ <item>The pid to set.</item>
+ </taglist>
+ <p>
+ Set the os_pid seen when doing erlang:port_info/2 on this port.
+ </p>
+ </desc>
+ </func>
+
+ <func>
<name><ret>int</ret><nametext>erl_drv_thread_create(char *name,
ErlDrvTid *tid,
void * (*func)(void *),