• # Ça semble correct

    Posté par . En réponse au message exit dans un programme multi-threadé. Évalué à 4.

    D'après le document « Native POSIX Threads Library: NPTL » :

    A second variant of the exit system call was introduced: exit_group. The old system call kept the meaning of terminating the current thread. The new system call terminates the entire process.

    Donc je pense que exit a toujours et terminera toujours uniquement le thread courant et exit_group le processus et donc tous ses threads.