From dc6d89bc1c08e15f8d4cd32f2e0886713cdc2dc2 Mon Sep 17 00:00:00 2001
From: Derek Brown
Date: Wed, 4 Nov 2015 16:05:33 +0100
Subject: Fix typos and grammar
---
erts/doc/src/erl.xml | 6 +++---
erts/doc/src/erlang.xml | 28 ++++++++++++++--------------
2 files changed, 17 insertions(+), 17 deletions(-)
(limited to 'erts')
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 63ab2532ab..ec4a0dee05 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -371,7 +371,7 @@
path, similar to . See
code(3).
As an alternative to -pa, if several directories are
- to be prepended to the code and the directories have a
+ to be prepended to the code path and the directories have a
common parent directory, that parent directory could be
specified in the ERL_LIBS environment variable.
See code(3).
@@ -1184,7 +1184,7 @@
disables this feature, which also is the default.
This feature has been introduced as a temporary workaround
- for lengthy executing native code, and native code that do not
+ for long-executing native code, and native code that does not
bump reductions properly in OTP. When these bugs have be fixed
the +sfwi flag will be removed.
@@ -1210,7 +1210,7 @@
balance scheduler utilization between schedulers. That is,
strive for equal scheduler utilization on all schedulers.
+sub true is only supported on
- systems where the runtime system detects and use a monotonically
+ systems where the runtime system detects and uses a monotonically
increasing high resolution clock. On other systems, the runtime
system will fail to start.
+sub true implies
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index df7af3ce6b..94f9cd3148 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -1001,15 +1001,15 @@
can be used instead of
demonitor(MonitorRef) if this cleanup is wanted.
- Before OTP R11B (ERTS 5.5), demonitor/1
- behaved asynchronous, that is, the monitor was active
- until the "demonitor signal" reached the monitored entity.
- This had an undesirable effect, as you could never know when
- you were guaranteed not to receive a DOWN
- message because of the monitor.
- The current behavior can be viewed as two combined operations:
- asynchronously send a "demonitor signal" to the monitored
- entity and ignore any future results of the monitor.
+ Prior to OTP release R11B (ERTS version 5.5) demonitor/1
+ behaved completely asynchronously, i.e., the monitor was active
+ until the "demonitor signal" reached the monitored entity. This
+ had one undesirable effect. You could never know when
+ you were guaranteed not to receive a DOWN message
+ due to the monitor.
+ Current behavior can be viewed as two combined operations:
+ asynchronously send a "demonitor signal" to the monitored entity
+ and ignore any future results of the monitor.
Failure: It is an error if MonitorRef refers to a
monitoring started by another process. Not all such cases are
@@ -7877,9 +7877,9 @@ timestamp() ->
Secs = ErlangSystemTime div 1000000 - MegaSecs*1000000,
MicroSecs = ErlangSystemTime rem 1000000,
{MegaSecs, Secs, MicroSecs}.
-
The BIF uses a native implementation which does
- not build garbage on the heap and with slightly better
- performance.
+ It, however, uses a native implementation which does
+ not build garbage on the heap and with slightly better
+ performance.
This time is not a monotonically increasing time
in the general case. For more information, see the documentation of
@@ -8812,8 +8812,8 @@ timestamp() ->
true
end
- Before OTP R11B (ERTS 5.5) unlink/1
- behaved asynchronous, that is, the link was active
+
Prior to OTP release R11B (ERTS version 5.5) unlink/1
+ behaved completely asynchronously, i.e., the link was active
until the "unlink signal" reached the linked entity. This
had an undesirable effect, as you could never know when
you were guaranteed not to be effected by the link.
--
cgit v1.2.3