[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Anastasia Gornostaeva <ermine@e...> |
| Subject: | Re: [Caml-list] timer |
On Tue, Jan 04, 2005 at 10:11:06AM +0900, SooHyoung Oh wrote: > Module Timer > <http://pllab.kaist.ac.kr/%7Eshoh/ocaml/libs/timer/doc/type_Timer.html> This module does not work when is compiled for native-code mode and is linked with libc_r under FreeBSD 5.x As bytecode it works perfectly, but i want native-code. Executing of native-code test: bash-2.05b$ ./tst Sleeping for 1 sec: 1107199242.936151 Waked: 1107199243.038147 Sleeping for 2 sec: 1107199243.038242 Waked: 1107199245.038524 Sleeping for 300 msec: 1107199245.039142 ^C Here it stops and eats CPU up to 99% (it does not hang up). I guess it is non-portability of ocaml (i have only 3.08.2) The same shit happens when I use setitimer: my programs sees 1-3 alrarm signals and does not see alarms signals anymore. Any idea? ermine