|
Linux Process Management(16) > this process. > 4. Call sem_exit(). Dequeue its IPC semaphor if it > queued waiting for. > 5. Call __exit_files(), __exit_fs(), exit_namespace(), > and exit_sighand() to decrement the usage count of > objects related to file descriptors, filesystem > data, the process namespace, and signal handlers, > respectively. > 6. Set the task's exit code, stored in the exit_code > member of the task_struct, to the code provided by > exit() or whatever kernel mechanism forced the > termination. > 7. Call exit_notify() to send signals to the task's > parent, reparent any of the task's children to
|