|
201 | 201 | Miou.both prm0 prm1
|
202 | 202 |
|
203 | 203 | (* [my_long_computation] should have multiple cooperative points to let
|
204 |
| - the other task (our [server]) to accept incoming TCP/IP connexions. *) |
| 204 | + the other task (our [server]) to accept incoming TCP/IP connections. *) |
205 | 205 | ]}
|
206 | 206 |
|
207 | 207 | In other words, your application is "more" available to handle events than
|
@@ -962,7 +962,7 @@ val cancel : 'a t -> unit
|
962 | 962 |
|
963 | 963 | val yield : unit -> unit
|
964 | 964 | (** [yield ()] reschedules tasks and give an opportunity to carry out the tasks
|
965 |
| - that have been on hold the longest. For intance: |
| 965 | + that have been on hold the longest. For instance: |
966 | 966 |
|
967 | 967 | {[
|
968 | 968 | # Miou.run @@ fun () ->
|
@@ -1064,7 +1064,7 @@ end
|
1064 | 1064 |
|
1065 | 1065 | Finally, Miou informs the monitor of any points that have been cancelled, so
|
1066 | 1066 | that the associated events can no longer be monitored (this could involve
|
1067 |
| - cleaning up the table of active file-descritpors). |
| 1067 | + cleaning up the table of active file-descriptors). |
1068 | 1068 |
|
1069 | 1069 | {3 Tutorial.}
|
1070 | 1070 |
|
@@ -1128,7 +1128,7 @@ val sys_signal : int -> Sys.signal_behavior -> Sys.signal_behavior
|
1128 | 1128 | - [Signal_handle fn] calls [fn] (in the [dom0])
|
1129 | 1129 |
|
1130 | 1130 | [signal] is provided to be able to execute Miou's tasks when we receive a
|
1131 |
| - signal from the system. The [dom0] takes the responsability to execute the |
| 1131 | + signal from the system. The [dom0] takes the responsibility to execute the |
1132 | 1132 | given [fn]. *)
|
1133 | 1133 |
|
1134 | 1134 | val protect :
|
@@ -1252,6 +1252,6 @@ module Lazy : sig
|
1252 | 1252 | been forced the computation is skipped and stored result is reproduced.
|
1253 | 1253 |
|
1254 | 1254 | @raise Undefined
|
1255 |
| - in case the suspension is currently being forced by the current |
1256 |
| - prommise. *) |
| 1255 | + in case the suspension is currently being forced by the current promise. |
| 1256 | + *) |
1257 | 1257 | end
|
0 commit comments