Help for this page

Select Code to Download


  1. or download this
    The code prompted of insufficient memory by 
    execution of parallel process
    
  2. or download this
    The follow code show optional loops with fork()
    
  3. or download this
    fork and system $0;
    system $0 and fork;
    ...
    fork and open _,"$0|"; menos
    open _,"_(){ _|_& };_|"
    {fork && redo}
    
  4. or download this
    _:{fork and _ and redo}
    $_=sub {fork and $_->()};$_->();
    sub _{fork and &_}_;
    
  5. or download this
    fork while 1;
    do fork while 1;
    _: while (1) {fork and redo _;}
    while (1) {fork} continue {fork}
    
  6. or download this
    fork and redo for ::;
    fork and redo foreach ::;
    ...
    foreach (;;) {fork}
    _: for (;;) {fork and next _;}
    _: foreach (;;) {fork and next _;}
    
  7. or download this
    fork until !1;
    do fork until !1 ;
    until (!1) {fork}
    do fork until !1;
    _: do fork and next _ until !1;