 ,        ; -
        .
,    ,       -
.         ,
       ,    ,
  .       -
,    .    Linux  
     fork () (,   -
),         -
. ,     fork (),  -
 (, parent),    , (, child}.
     ,   
       .   -
       -  -
.   * ()      
    .    Linux  fork () -
    clone (),     
.

        exit (). 
        . 
          -
  wait 4 ()2,      
.   ,      
(zombie),         -
,         wait () 
waitpid().

       (task).     -
  Linux    .      -
,         
   ,       
 .

    task structure

        ,  -
 task list'1 ( ).      -
      struct task_struct,    
include/linux/sched . h.      
 .

     wait 4 ().    Linux  
     wait (), waitpid (), wait3 ()  wait4 ().   
     ,     -
.

          task array
( ).    Linux   ,    ,
  task list.

46                                                                            3