caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Waiting for float time
@ 2007-06-27 21:55 sayan
  2007-06-27 22:11 ` [Caml-list] " Karl Zilles
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: sayan @ 2007-06-27 21:55 UTC (permalink / raw)
  To: caml-list

Hi,

I am looking for a floating point version of the function Unix.sleep in
order to suspend execution of a program for 0.7s

Is there any such function in the standard library ?

Is there a solution outside of Threads, and GTK ?

I have looked at Unix.interval_timer but I'd rather not use it. From
what I understand, you have to add a signal handler to catch sigalrm,
and I do not see how to create a sleep function using it.

Is there a multiplatform solution ?

Thanks

-- 
Sébastien


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-06-29 10:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-27 21:55 Waiting for float time sayan
2007-06-27 22:11 ` [Caml-list] " Karl Zilles
2007-06-28 11:15   ` Matthieu Dubuget
2007-06-28 15:03     ` Bruno Verlyck, Bruno.Verlyck
2007-06-28 15:29       ` Matthieu Dubuget
2007-06-28 15:57         ` Bruno Verlyck, Bruno.Verlyck
2007-06-27 22:21 ` Robert Roessler
2007-06-28 10:15   ` sayan
2007-06-28 10:18     ` Vincent Hanquez
2007-06-28 11:18       ` Bünzli Daniel
2007-06-28 11:33   ` Yaron Minsky
2007-06-29 10:17     ` Robert Roessler
2007-06-28 12:50 ` Thomas Fischbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).