yes, because if process is terminated then its related thread has no work. After completion of process the kernel generates a thread that will cancelled the thread in order to save the time and memory of CPU.
Yes, the thread will also terminate if the process it is running in terminates. The thread is dependent upon the processes it is running. If the processes die the thread dies.
Generally any process may be terminated by sending the appropriate signal to it. The command to send signals to a process is called 'kill', and the various signals you can use are identified by 'kill...
To end a thread within the thread's own code you can also simply return from the thread function or method. However if you want to terminate a thread from code which is running outside of the...
If you mean the processes in windows :- Hit CTRL ALT & DEL together - when the menu screen shows, select Start Task Manager.Click on the Processes tab in the small window that pops up - that'll...
different paths of control in a program that a computer might run at the same time if it has parallel processing support for multithread execution. threads and processes are two ways of supporting...