aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/driver_entry.xml
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-01-08 18:54:15 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:03 +0100
commitcd69c2a54201b4e0c4ba86d4248937120e1957e7 (patch)
treed9bdfe069adfb87d850f609753a342e4c9b4e899 /erts/doc/src/driver_entry.xml
parentb309ad9b4a3e4ff2d6d3a6e6270d37355a798bb1 (diff)
downloadotp-cd69c2a54201b4e0c4ba86d4248937120e1957e7.tar.gz
otp-cd69c2a54201b4e0c4ba86d4248937120e1957e7.tar.bz2
otp-cd69c2a54201b4e0c4ba86d4248937120e1957e7.zip
ose: Create OSE application
Create an specific OSE application that mainly contains documentation around the OSE specific part of Erlang/OTP.
Diffstat (limited to 'erts/doc/src/driver_entry.xml')
-rw-r--r--erts/doc/src/driver_entry.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/erts/doc/src/driver_entry.xml b/erts/doc/src/driver_entry.xml
index 48dfcb09b1..469b59dba6 100644
--- a/erts/doc/src/driver_entry.xml
+++ b/erts/doc/src/driver_entry.xml
@@ -245,10 +245,14 @@ typedef struct erl_drv_entry {
something that the <c>WaitForMultipleObjects</c> API
function understands). (Some trickery in the emulator allows
more than the built-in limit of 64 <c>Events</c> to be used.)</p>
+ <p>On Enea OSE the <c>event</c> is one or more signals that can
+ be retrieved using <seealso marker="ose:ose_erl_driver#erl_drv_ose_get_input_signal">erl_drv_ose_get_input_signal</seealso>.</p>
<p>To use this with threads and asynchronous routines, create a
- pipe on unix and an Event on Windows. When the routine
+ pipe on unix, an Event on Windows or a unique signal number on
+ Enea OSE. When the routine
completes, write to the pipe (use <c>SetEvent</c> on
- Windows), this will make the emulator call
+ Windows or send a message to the emulator process on Enea OSE),
+ this will make the emulator call
<c>ready_input</c> or <c>ready_output</c>.</p>
<p>Spurious events may happen. That is, calls to <c>ready_input</c>
or <c>ready_output</c> even though no real events are signaled. In