I am using ZThreads to illustrate the question but my question applies to PThreads, Boost Threads and other such threading libraries in C++.
class MyClass: p
Not sure of the other libraries but in pthread library pthread_kill function is available pthread_kill