public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Kunal Chauhan <atkunalchauhan@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: [Help]:thread support in gcc
Date: Fri, 17 Jul 2020 09:36:06 +0100	[thread overview]
Message-ID: <CAH6eHdQAvDkoDCXnkKHr6OneX9p71fSVSJE2nuD2njxQZNLomw@mail.gmail.com> (raw)
In-Reply-To: <CACEFAc2ya7qRx3DKBpMj0Fx-fe4S_SBq73Qz4+ZOOzzGRiK6KA@mail.gmail.com>

On Fri, 17 Jul 2020 at 06:54, Kunal Chauhan via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi Team,
>
> My projects use threads code compiled by gcc. After running binary I am not
> able to see what are all threads are running
>
> And also what are the pointer to better understands threads

These questions are not about using GCC, so this isn't the right place to ask.

You can see what each thread is running the same way you'd see what is
running in a single-threaded program: attach a debugger (or other
tool) to inspect the backtrace for each thread, so see which function
is being executed.

      reply	other threads:[~2020-07-17  8:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17  5:51 Kunal Chauhan
2020-07-17  8:36 ` Jonathan Wakely [this message]

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=CAH6eHdQAvDkoDCXnkKHr6OneX9p71fSVSJE2nuD2njxQZNLomw@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=atkunalchauhan@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).