1

Is that possible to send signal between

  • Process P1 having thread as T1 T2 T3
  • Process P2 having thread as T4 T5 T6

My question is , is that possible that T4 will send signal to T3

Thank you very much for your kindly help Den

Denny
  • 449
  • 4
  • 17

1 Answers1

2

Yes and no.

Signals are sent to processes, not threads. It is the responsibility of each process to determine which thread(s) with handle incoming signals (see POSIX threads and signals).

Thus sending a signal to a specific thread would require cooperation from the target process.

Community
  • 1
  • 1
NPE
  • 486,780
  • 108
  • 951
  • 1,012