Fair answer. But I'm sure you understood my question, didn't you?
I faced exactly the same problem as Sébastien.
I had some OCaml code using Thread module, and, Thread.delay. Because of one bug in ocaml compilers, I can not use Thread module (
http://caml.inria.fr/mantis/view.php?id=4173).
Not a very big problem after some thought, because the use of Thread was not absolutely necessary when using my Ocaml code wrapped inside a shared library. I then looked for a replacement for
Thread.delay. I still needed to wait some (small amount of time) without pooling.
Sorry if I'm not a unix guru, but the fact is that I did not find the Unix.select solution.
So. Suppose there is some short tricks/recipes list about OCaml somewhere: it may save time to beginners looking for such things. I asked the question, because maybe, there is already such a place? (the caml-list archive since today, at least...)
Salutations
Matthieu Dubuget