From: Don Syme <dsyme@microsoft.com>
To: caml-list@inria.fr
Subject: threads & OCamlTK
Date: Mon, 15 Mar 1999 07:05:21 -0800 [thread overview]
Message-ID: <39ADCF833E74D111A2D700805F1951EF0F00BA6B@RED-MSG-06> (raw)
And, on a vaguely related topic, is it possible to use threads with programs
that also use OCamlTK? I know Tk is not threadsafe, but if only one thread
is calling Tk functions, then perhaps it's still OK?
Also, the manual says:
> All object files on the command line must also have been compiled with
the -thread option,
> which selects a special, thread-safe version of the standard library
(see chapter 8).
But does this apply to the object files contained in libraries such as
OCamlTK, Unix, Num and Str?
Finally, if a particular library has used non-threadsafe constructs, and you
try to link it into a threaded program, some compiler support for detecting
and warning about this might be handy.
Thanks,
Don
-----Original Message-----
From: Don Syme [mailto:dsyme@microsoft.com]
Sent: 15 March 1999 14:27
To: caml-list@inria.fr
Subject: Break under Windows NT
Hi,
Is it true that under the Windows NT version of OCaml there's no easy way of
sending the equivalent of a SIGINT to a OCaml process and have OCaml raise
an exception? Or have I missed something? I need to be able to
asynchronously break long running computations under NT. BTW I'm also using
OCamlTK.
Thanks,
Don
next reply other threads:[~1999-03-15 17:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-15 15:05 Don Syme [this message]
1999-03-16 17:18 ` Francois Rouaix
1999-03-16 17:42 ` Jun P. Furuse
1999-03-22 18:39 ` Trevor Jim
1999-03-22 20:04 ` William Chesters
1999-03-23 16:08 ` Xavier Leroy
1999-03-23 15:07 ` Jerome Vouillon
1999-03-24 17:27 ` William Chesters
1999-03-16 17:32 William Chesters
1999-03-17 15:02 Don Syme
1999-03-17 15:57 ` William Chesters
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=39ADCF833E74D111A2D700805F1951EF0F00BA6B@RED-MSG-06 \
--to=dsyme@microsoft.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