From: gdb@dontknow.org
To: Mark Kettenis <kettenis@wins.uva.nl>
Cc: gdb@sourceware.cygnus.com
Subject: Re: Linux threads support in GDB
Date: Wed, 04 Oct 2000 17:12:00 -0000 [thread overview]
Message-ID: <961ec74675f93d46838aa1cf35f45df0@NO-ID-FOUND.mhonarc.org> (raw)
In-Reply-To: <200010021257.e92CvRm16644@debye.wins.uva.nl>
> Explicitly stopping individual threads is considered bad practice by
> most threads experts. And of course using SIGSTOP is unportable.
> That's why I don't consider this a critical problem.
I can believe that it is considered bad, and right now the only implementation
of thread stopping is used when creating a new thread in certain instances
(Some applications expect threads to be created in a stopped state and use
SIGSTOP to do so. I could implement support for this differently, waiting on a
condition until the resume is given, and if there is a stop/resume pair used
outside of this case then it would break GDB, but at this time it isn't used.)
One application that uses SIGSTOP for suspending a running thread is Sun's J2SE.
> I'd be delighted if you can find a way to make things work. I just
> don't see how.
If I get enough time to do so, I will think on the problem some more (so far
I've only done brief poking around.)
--Randy
Contrary to popular belief, UNIX is user friendly.
It just happens to be selective about who it makes friends with.
next prev parent reply other threads:[~2000-10-04 17:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200009140024.e8E0OCK13917@mbox.wins.uva.nl>
2000-10-02 5:57 ` Mark Kettenis
2000-10-02 16:15 ` gdb
2000-10-04 17:12 ` gdb [this message]
[not found] <200010050012.CAA26158@mailhost.ri.silicomp.fr>
2000-10-04 22:50 ` Eric Paire
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=961ec74675f93d46838aa1cf35f45df0@NO-ID-FOUND.mhonarc.org \
--to=gdb@dontknow.org \
--cc=gdb@sourceware.cygnus.com \
--cc=kettenis@wins.uva.nl \
/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