diff options
author | Alain Frisch <alain@frisch.fr> | 2012-05-29 11:47:28 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2012-05-29 11:47:28 +0000 |
commit | a0a14c08fa467bc6a40b268f0dbba9568e241e17 (patch) | |
tree | 0a248584e83daee65471533c0d5c34252c333527 /otherlibs/threads/unix.ml | |
parent | 05c973e6ed4be5e2fb28ef97b9659c9677ccbfd1 (diff) |
Enable and fix more warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/threads/unix.ml')
-rw-r--r-- | otherlibs/threads/unix.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/otherlibs/threads/unix.ml b/otherlibs/threads/unix.ml index 609c098a3..490facc76 100644 --- a/otherlibs/threads/unix.ml +++ b/otherlibs/threads/unix.ml @@ -36,6 +36,11 @@ type resumption_status = | Resumed_select of file_descr list * file_descr list * file_descr list | Resumed_wait of int * process_status +(* to avoid warning *) +let _ = [Resumed_wakeup; Resumed_delay; Resumed_join; + Resumed_io; Resumed_select ([], [], []); + Resumed_wait (0, WEXITED 0)] + external thread_initialize : unit -> unit = "thread_initialize" external thread_wait_read : file_descr -> unit = "thread_wait_read" external thread_wait_write : file_descr -> unit = "thread_wait_write" |