* [Help]:thread support in gcc
@ 2020-07-17 5:51 Kunal Chauhan
2020-07-17 8:36 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Kunal Chauhan @ 2020-07-17 5:51 UTC (permalink / raw)
To: gcc-help
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
Thanks
Kunal
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Help]:thread support in gcc
2020-07-17 5:51 [Help]:thread support in gcc Kunal Chauhan
@ 2020-07-17 8:36 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2020-07-17 8:36 UTC (permalink / raw)
To: Kunal Chauhan; +Cc: gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-17 8:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 5:51 [Help]:thread support in gcc Kunal Chauhan
2020-07-17 8:36 ` Jonathan Wakely
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).