Hi Guys,

I am thinking of implementing threads in my application.

1.
In one of the threads, I am going to make a system() call to invoke another application.

When i kill the thread, would that terminate the application that was run from within it?

2.
If i invoke a signal using thread_kill(id, sig) to a particular thread. How would i capture the signal. If i was to create a user defined signal for example, can i still use the signal() function from signal.h library? Would that capture the thread_kill signal??


Thanks for your help!!

Regards,
Purvi