Notify a specified tread in C++ [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I didn't find anything on the Internet about this, so I'm asking here.
Is there a command in C++ to notify a specified thread and not a casual one?

Use one std::condition_variable for each event you want to wait for.

Related

Thread crash detection in Linux environment and c++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
I would like to know if there is a way to know if one of my Threads Crashed?
with new c++ methods/libraries or linux system calls
ive been searching the internet and couldnt find a answer to my question

CPP intresting thing with conditionsl statement [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
if(cout<<"h"){}
this gives me an output
h
Any idea why, I have tried many variations of it and it still works.
That's because the if statement needs to evaluate the condition you give into it, plus, streams are implicitly convertible to bool.

Origins of "joinable" and "unjoinable" in multi-threading [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Why does POSIX use the words "joinable" and "unjoinable" to describe between a thread that is/was/might/could-in-the-future-be doing something and a thread that is idle and waiting to be deleted? What was the initiative behind the selection of these particular words to describe the current state of a thread?
You can maybe use this kind of mental model to explain the terminology:

What is the diff. between getpid and gettid in c++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
getpid() vs gettid()
Please tell me the diff. between getpid and gettid.
How pids and tids are stored behind the scenes is implementation dependent, typically through usage of the pid_t type.
Usually they are just signed integers.

How to activate ModernUI application from native code? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have native code executing (x86) in process of modernUI app, I need to activate the application. I can't find API for this.
I finally found it. IApplicationActivationManager should do the trick.