From: Anastasia Gornostaeva <ermine@ermine.pp.ru>
To: SooHyoung Oh <shoh@compiler.kaist.ac.kr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] timer
Date: Mon, 31 Jan 2005 22:33:24 +0300 [thread overview]
Message-ID: <20050131193324.GA77148@ermine.home> (raw)
In-Reply-To: <41D9ED2A.8080906@compiler.kaist.ac.kr>
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
next prev parent reply other threads:[~2005-01-31 19:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-03 1:58 timer Anastasia Gornostaeva
2005-01-04 1:11 ` [Caml-list] timer SooHyoung Oh
2005-01-31 19:33 ` Anastasia Gornostaeva [this message]
2005-01-31 21:21 ` Alain Frisch
2005-02-01 7:50 ` Ville-Pertti Keinonen
2005-02-01 12:22 ` Anastasia Gornostaeva
2005-02-01 14:30 ` Ville-Pertti Keinonen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050131193324.GA77148@ermine.home \
--to=ermine@ermine.pp.ru \
--cc=caml-list@inria.fr \
--cc=shoh@compiler.kaist.ac.kr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox