MAJ doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4951 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
17db5ace3e
commit
0a47a75d56
|
@ -15,11 +15,11 @@
|
|||
|
||||
(** Thread-compatible system calls.
|
||||
|
||||
This module reimplements some of the functions from [Unix]
|
||||
so that they only block the calling thread, not all threads
|
||||
in the program, if they cannot complete immediately.
|
||||
See the documentation of the {!Unix} module for more
|
||||
precise descriptions of the functions below. *)
|
||||
@deprecated The functionality of this module has been merged back into
|
||||
the {!Unix} module. Threaded programs can now call the functions
|
||||
from module {!Unix} directly, and still get the correct behavior
|
||||
(block the calling thread, if required, but do not block all threads
|
||||
in the process). *)
|
||||
|
||||
(** {6 Process handling} *)
|
||||
|
||||
|
@ -40,10 +40,12 @@ val write : Unix.file_descr -> string -> int -> int -> int
|
|||
val timed_read :
|
||||
Unix.file_descr ->
|
||||
string -> int -> int -> float -> int
|
||||
(** See {!ThreadUnix.timed_write}. *)
|
||||
|
||||
val timed_write :
|
||||
Unix.file_descr ->
|
||||
string -> int -> int -> float -> int
|
||||
(** Behave as [read] and [write], except that
|
||||
(** Behave as {!ThreadUnix.read} and {!ThreadUnix.write}, except that
|
||||
[Unix_error(ETIMEDOUT,_,_)] is raised if no data is
|
||||
available for reading or ready for writing after [d] seconds.
|
||||
The delay [d] is given in the fifth argument, in seconds. *)
|
||||
|
|
Loading…
Reference in New Issue