Changes

4 bytes removed ,  10:38, 12 September 2016
m
Line 28: Line 28:     
<pre>
 
<pre>
{111\nil}
+
{111}
 
</pre>
 
</pre>
   Line 36: Line 36:  
FORK:      {T(..)(.*)}                  -> {T\1N\2}|{N\1}    // T forks N
 
FORK:      {T(..)(.*)}                  -> {T\1N\2}|{N\1}    // T forks N
 
EXIT:      {I(..)(.*)}(.*){X(..)(.*)}  -> {I\1\2\5}\3        // X exits and all its kids are reparented to I (init)
 
EXIT:      {I(..)(.*)}(.*){X(..)(.*)}  -> {I\1\2\5}\3        // X exits and all its kids are reparented to I (init)
SETSID:    {S(.)(.*)}                   -> {SS\1}             // S becomes a new session leader
+
SETSID:    {S(.)(.)(.*)}               -> {S\1S\3}           // S becomes a new session leader
SETPGID(0): {P(.)(.)(.*)}                -> {P\1P\3}          // P becomes a new group leader
+
SETPGID(0): {P(.)(.)(.*)}                -> {PP\2\3}          // P becomes a new group leader
SETPGID(G): {G(.)G(.*)}(.*){P(.)(.)(.*)} -> {G\1G\2}\3{P\4G\6} // P joins session of alive G
+
SETPGID(G): {GG(.)(.*)}(.*){P(.)(.)(.*)} -> {GG\1\2}\3{PG\4\6} // P joins session of alive G
 
</pre>
 
</pre>
    
[[Category: Plans]]
 
[[Category: Plans]]
 
[[Category: Thinkers]]
 
[[Category: Thinkers]]