Branch: Tag:

1998-01-02

1998-01-02 00:56:02 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

now handles the absence of fork()

Rev: lib/modules/Process.pmod:1.13

26:   {    int pid;    + #if constant(fork)    pid=fork(); -  + #else +  pid=-1; + #endif       if(pid==-1)    error("No more processes.\n");
81:    return t;   }    + #if constant(fork)   void system(string s)   {    object p;
111:   }      constant fork = predef::fork; + #endif +  + #if constant(exece)   constant exece = predef::exece; -  + #endif    -  -  + #if constant(fork)   class Spawn   {    object stdin;
225:    // int result();    // array rusage();   } + #endif