killing NPTL threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Let's say main program creates a secondary thread, which blocks on
a file descriptor (e.g. when trying to read);

Now main program wants to terminate.

Does it have to cancel/terminate the secondary thread first ?
can it cancel it ? how ? will pthread_cancel work ?

If it will not cancel the secondary thread, but just exit() instead,
will the other thread keep running in the system ?

Thank You very much !
naziir

(hope this is not too off-topic..)

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux