Skip to content
Advertisement

Tag: exit

What is the difference between exit() and exit_group()

What is the difference between exit() and exit_group(). Any process that has multiple threads should use exit_group instead of exit? To answer the question why do you ask – we are having an process that has around forty threads. When a thread is locked up, we automatically exit the process and then restart the process. And we print the backtrace

Advertisement