summaryrefslogtreecommitdiff
path: root/otherlibs/threads/thread.mli
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-06 08:52:32 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-06 08:52:32 +0000
commitea299bbbc1dcf8f0f8f3b18558145965391ad224 (patch)
tree66a42a385bf5243f570afb2c48bf7239ce08f67a /otherlibs/threads/thread.mli
parentbc8ff705be9af2f5883b640b1c9e285f380d5f70 (diff)
downloadocaml-ea299bbbc1dcf8f0f8f3b18558145965391ad224.tar.gz
passage aux labels stricts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/threads/thread.mli')
-rw-r--r--otherlibs/threads/thread.mli8
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/threads/thread.mli b/otherlibs/threads/thread.mli
index 4fda3afa5b..d49aca1804 100644
--- a/otherlibs/threads/thread.mli
+++ b/otherlibs/threads/thread.mli
@@ -58,15 +58,15 @@ val wait_write : Unix.file_descr -> unit
one character is available for reading ([wait_read]) or
one character can be written without blocking ([wait_write])
on the given Unix file descriptor. *)
-val wait_timed_read : Unix.file_descr -> timeout:float -> bool
-val wait_timed_write : Unix.file_descr -> timeout:float -> bool
+val wait_timed_read : Unix.file_descr -> float -> bool
+val wait_timed_write : Unix.file_descr -> float -> bool
(* Same as [wait_read] and [wait_write], but wait for at most
the amount of time given as second argument (in seconds).
Return [true] if the file descriptor is ready for input/output
and [false] if the timeout expired. *)
val select :
- read:Unix.file_descr list -> write:Unix.file_descr list ->
- exn:Unix.file_descr list -> timeout:float ->
+ 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
becomes possible on the given Unix file descriptors.