From: Mumit Khan <khan@NanoTech.Wisc.EDU>
To: M Dipperstein <mdipper@cs.ucsb.edu>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: Threads
Date: Fri, 04 Feb 2000 08:06:00 -0000 [thread overview]
Message-ID: <Pine.HPP.3.96.1000204100359.19647f-100000@hp2.xraylith.wisc.edu> (raw)
In-Reply-To: <Pine.GSO.4.05.10002040619080.4230-100000@dinah>
On Fri, 4 Feb 2000, M Dipperstein wrote:
> There have been several postings to the list which discuss pthreads and
> the lack of "thread safety" in cygwin. I was hoping somebody would
> clarify the statement that cygwin is not thread safe.
Cygwin is thread-safe by default as of 2000-01-05 or so snapshot (or
perhaps even a bit earlier). Last year, you had to build it yourself
to get the thread-safe code. It's still being worked on, so there are
bound to be problems, but seems to work ok.
> I'm developing a thread package from the QuickThreads primitives. The
> final target is not cygwin, but it's a great tool for development along
> the way. So far, there seem to be no problems using the QuickThreads
> primitives in code compiled with gcc under cygwin.
As long as it's not C++ using exception handling you should be fine. Until
we enhance the Cygwin's pthread interface, the C++ runtime is still single
threaded.
> Are the only concerns regarding thread safety related to non-reentrant code
> in the cygwin libraries? If that's the only problem, I think I don't have
> to worry. The thread package I'll be working with is cooperative, and
> will not allow for library routines to be reentered before they have
> returned.
Try it out and see what happens. We can try and fix the problems, but need
to know what those are first.
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next prev parent reply other threads:[~2000-02-04 8:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-04 6:32 Threads M Dipperstein
2000-02-04 8:06 ` Mumit Khan [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-26 13:20 Threads Angelo Graziosi
2014-10-26 21:38 ` Threads Ken Brown
2014-10-27 10:21 ` Threads Corinna Vinschen
2014-10-20 13:04 Threads Ken Brown
2014-10-20 16:43 ` Threads Corinna Vinschen
2014-10-20 19:03 ` Threads Corinna Vinschen
2014-10-20 19:58 ` Threads Ken Brown
2014-10-21 11:17 ` Threads Corinna Vinschen
2014-10-21 12:27 ` Threads Ken Brown
2014-10-23 11:31 ` Threads Jon TURNEY
2014-10-23 12:04 ` Threads Ken Brown
2014-10-23 15:37 ` Threads Corinna Vinschen
2014-10-23 18:07 ` Threads Achim Gratz
2014-10-23 20:32 ` Threads Ken Brown
2014-10-24 1:07 ` Threads Ken Brown
2014-10-24 9:46 ` Threads Corinna Vinschen
2014-10-24 11:05 ` Threads Jon TURNEY
2014-10-24 12:54 ` Threads Corinna Vinschen
2014-10-24 13:52 ` Threads Corinna Vinschen
2014-10-26 11:58 ` Threads Ken Brown
2014-10-28 10:44 ` Threads Jon TURNEY
2014-10-28 11:40 ` Threads Corinna Vinschen
2014-10-28 13:47 ` Threads Ken Brown
1997-03-19 10:28 Threads Davind Maharaj
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=Pine.HPP.3.96.1000204100359.19647f-100000@hp2.xraylith.wisc.edu \
--to=khan@nanotech.wisc.edu \
--cc=cygwin@sourceware.cygnus.com \
--cc=mdipper@cs.ucsb.edu \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).