diff options
| author | Max Mouratov <mmouratov@gmail.com> | 2017-03-29 02:05:29 +0500 |
|---|---|---|
| committer | David Allsopp <david.allsopp@metastack.com> | 2017-04-06 13:26:18 +0100 |
| commit | 485c2e68d3830579fc0833cd56b5affa8c9feb89 (patch) | |
| tree | 5799525d6d4f1e6ace039b8cc61dd7844fdb70df /otherlibs | |
| parent | 4cf3be76d8a0f6cc8688466776744d9d8abf49e2 (diff) | |
| download | ocaml-485c2e68d3830579fc0833cd56b5affa8c9feb89.tar.gz | |
Fixed grammar in user-facing comments and README
Diffstat (limited to 'otherlibs')
| -rw-r--r-- | otherlibs/bigarray/bigarray.mli | 2 | ||||
| -rw-r--r-- | otherlibs/systhreads/condition.mli | 2 | ||||
| -rw-r--r-- | otherlibs/systhreads/thread.mli | 2 | ||||
| -rw-r--r-- | otherlibs/threads/condition.mli | 2 | ||||
| -rw-r--r-- | otherlibs/threads/thread.mli | 4 | ||||
| -rw-r--r-- | otherlibs/unix/unix.mli | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/otherlibs/bigarray/bigarray.mli b/otherlibs/bigarray/bigarray.mli index 56db5f47e3..683e1682b7 100644 --- a/otherlibs/bigarray/bigarray.mli +++ b/otherlibs/bigarray/bigarray.mli @@ -49,7 +49,7 @@ ({!Bigarray.int16_signed_elt} or {!Bigarray.int16_unsigned_elt}), - OCaml integers (signed, 31 bits on 32-bit architectures, 63 bits on 64-bit architectures) ({!Bigarray.int_elt}), -- 32-bit signed integer ({!Bigarray.int32_elt}), +- 32-bit signed integers ({!Bigarray.int32_elt}), - 64-bit signed integers ({!Bigarray.int64_elt}), - platform-native signed integers (32 bits on 32-bit architectures, 64 bits on 64-bit architectures) ({!Bigarray.nativeint_elt}). diff --git a/otherlibs/systhreads/condition.mli b/otherlibs/systhreads/condition.mli index decf6dce92..36c71fc818 100644 --- a/otherlibs/systhreads/condition.mli +++ b/otherlibs/systhreads/condition.mli @@ -27,7 +27,7 @@ Condition.wait c m done; (* Modify D *) - if (* the predicate P over D is now satified *) then Condition.signal c; + if (* the predicate P over D is now satisfied *) then Condition.signal c; Mutex.unlock m ]} *) diff --git a/otherlibs/systhreads/thread.mli b/otherlibs/systhreads/thread.mli index e5581a2f97..9b8a126796 100644 --- a/otherlibs/systhreads/thread.mli +++ b/otherlibs/systhreads/thread.mli @@ -83,7 +83,7 @@ val select : Unix.file_descr list -> Unix.file_descr list -> Unix.file_descr list -> float -> Unix.file_descr list * Unix.file_descr list * Unix.file_descr list -(** Suspend the execution of the calling thead until input/output +(** Suspend the execution of the calling thread until input/output becomes possible on the given Unix file descriptors. The arguments and results have the same meaning as for [Unix.select]. diff --git a/otherlibs/threads/condition.mli b/otherlibs/threads/condition.mli index 2e1ee77741..2557fe78dd 100644 --- a/otherlibs/threads/condition.mli +++ b/otherlibs/threads/condition.mli @@ -27,7 +27,7 @@ Condition.wait c m done; (* Modify D *) - if (* the predicate P over D is now satified *) then Condition.signal c; + if (* the predicate P over D is now satisfied *) then Condition.signal c; Mutex.unlock m ]} *) diff --git a/otherlibs/threads/thread.mli b/otherlibs/threads/thread.mli index 8369bbaee9..bf0c38047d 100644 --- a/otherlibs/threads/thread.mli +++ b/otherlibs/threads/thread.mli @@ -82,7 +82,7 @@ val select : Unix.file_descr list -> Unix.file_descr list -> Unix.file_descr list -> float -> Unix.file_descr list * Unix.file_descr list * Unix.file_descr list -(** Suspend the execution of the calling thead until input/output +(** Suspend the execution of the calling thread until input/output becomes possible on the given Unix file descriptors. The arguments and results have the same meaning as for {!Unix.select}. *) @@ -125,7 +125,7 @@ val critical_section : bool ref (the timer interrupt that transfers control from thread to thread), causing the current thread to run uninterrupted until [critical_section] is reset to [false] or the current thread - explicitely relinquishes control using [sleep], [delay], + explicitly relinquishes control using [sleep], [delay], [wait_inchan] or [wait_descr]. *) val sleep : unit -> unit diff --git a/otherlibs/unix/unix.mli b/otherlibs/unix/unix.mli index 158a80e69e..5cde58bf78 100644 --- a/otherlibs/unix/unix.mli +++ b/otherlibs/unix/unix.mli @@ -742,7 +742,7 @@ val symlink : ?to_dir:bool -> string -> string -> unit points to a directory or a file; if omitted, [symlink] examines [source] using [stat] and picks appropriately, if [source] does not exist then [false] is assumed (for this reason, it is recommended that the [~to_dir] parameter - be specified in new code). On Unix, [~to_dir] ignored. + be specified in new code). On Unix, [~to_dir] is ignored. Windows symbolic links are available in Windows Vista onwards. There are some important differences between Windows symlinks and their POSIX counterparts. |
