summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-10-16 16:11:53 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-10-16 16:11:53 +0000
commit25b9a8f7745014ae011c3260db3dafe23fab2963 (patch)
tree6e7b0d0ab67b1fedd0377e40daeced9607346eb5
parentf9e3751bf3619f59aefa5df94cc722e9612bfdbd (diff)
Ajout d'un wait() bidon pour les besoins de ThreadUnix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1726 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--otherlibs/win32unix/unix.ml2
-rw-r--r--otherlibs/win32unix/unix.mli2
2 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml
index e3668e8d7..513dfd7fe 100644
--- a/otherlibs/win32unix/unix.ml
+++ b/otherlibs/win32unix/unix.ml
@@ -135,6 +135,8 @@ external waitpid : wait_flag list -> int -> int * process_status
= "win_waitpid"
external getpid : unit -> int = "unix_getpid"
+let wait () = invalid_arg("Unix.wait not implemented")
+
type standard_handle = STD_INPUT | STD_OUTPUT | STD_ERROR
external stdhandle : standard_handle -> file_descr = "win_stdhandle"
diff --git a/otherlibs/win32unix/unix.mli b/otherlibs/win32unix/unix.mli
index a4ca31fa8..e9321881d 100644
--- a/otherlibs/win32unix/unix.mli
+++ b/otherlibs/win32unix/unix.mli
@@ -658,3 +658,5 @@ external getservbyport : int -> string -> service_entry
(* Find an entry in [services] with the given service number,
or raise [Not_found]. *)
+(*---*)
+val wait : unit -> int * process_status