caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: Stuart.Croy@gs.com
Cc: caml-list@inria.fr
Subject: RE: [Caml-list] windows + gtk
Date: Fri, 26 Jul 2002 00:10:49 +0900	[thread overview]
Message-ID: <20020726001049M.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <791BBEB24959D4118D400008C7090CA70AC83B0C@gstk04e.et.gs.com>

From: "Croy, Stuart" <Stuart.Croy@gs.com>

> Is this binary GTK distribution going to include working threads under
> Windows? If so, is that with cygwin or MSVC?
> Yes, impatient, I know, but I'm about ready to get the debugger out on the
> current version... Looking forward to 3.05. Keep up the good work, guys.

Good question. I hadn't really checked, and expected msvc threads
to somehow work. However, it seems that while you can write threaded
applications using lablgtk, you cannot call gtk functions from other
threads (this deadlocks). My intuition is that the windows version of
gtk enables internal mutexes by default, which is not the case for the
unix version. But I didn't check, and I'm not sure I will be able to
solve that before the next version of lablgtk.
You can still do as ocamlbrowser: use threads, but keep everything UI
related in the main thread (i.e., use GtkThread.main as main loop, but
not GtkThread.start). A bit painful, but it works.

For cygwin, I believe ocaml itself doesn't support threads on that
platform. Am I wrong ?

          Jacques Garrigue
-------------------
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:[~2002-07-25 15:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  6:14 Croy, Stuart
2002-07-25 15:10 ` Jacques Garrigue [this message]
2002-08-02 16:29   ` [Caml-list] windows + gtk (mingw compilation) Kontra, Gergely
  -- strict thread matches above, loose matches on Subject: below --
2002-07-12 15:21 [Caml-list] windows + gtk Kontra, Gergely
2002-07-12 16:40 ` Alan Schmitt
2002-07-18 15:32   ` Kontra, Gergely
2002-07-19  3:12     ` Jacques Garrigue
2002-07-22  9:14       ` Kontra, Gergely
2002-07-19  7:24     ` Xavier Leroy
2002-07-22  9:12       ` Kontra, Gergely
2002-08-02 17:12   ` Kontra, Gergely
2002-08-04  7:04     ` Alan Schmitt

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=20020726001049M.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=Stuart.Croy@gs.com \
    --cc=caml-list@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).