Reputation: 21560
How can I go about emulating the pthread_kill() function with C++ threads? I asked a question about this earlier but there was no response to it. Will the thread::native_handle() function help here?
Upvotes: 7
Views: 2451
Reputation: 21560
So the answer to this question is to rely on platform dependent features and use std::thread::native_handle
with pthread_kill()
Upvotes: 8