caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Shivkumar Chandrasekaran <shiv@ece.ucsb.edu>
To: caml-list@pauillac.inria.fr
Subject: [Caml-list] lablgtk2 & GC compact
Date: Fri, 03 Sep 2004 05:32:57 -0700	[thread overview]
Message-ID: <41386479.7000807@ece.ucsb.edu> (raw)

Hi,

I read in SooHyoung Oh's excellent lablgtk2 tutorial that automatic 
compaction was turned off in lablgtk2, and that to get compaction we 
must call Gc.compact manually inside the callbacks. Is this true?

If so, how do I turn "automatic compaction" back on once I enter the 
callback, and off when I exit it? The manual seems to suggest
    |Gc.set { (Gc.get()) with Gc.max_overhead = 500 }
as the way to turn it on to automatic, and|||
||    |Gc.set { (Gc.get()) with Gc.max_overhead = |||||||1000000| }
the way to turn it off again. Is this the right thing to do with lablgtk2?

Thanks for any help.

--shiv--

|

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


             reply	other threads:[~2004-09-03 12:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 12:32 Shivkumar Chandrasekaran [this message]
2004-09-05 22:37 ` Olivier Andrieu

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=41386479.7000807@ece.ucsb.edu \
    --to=shiv@ece.ucsb.edu \
    --cc=caml-list@pauillac.inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).