Programming

  • fork and exec system calls in Linux

    1.0 fork and exec system calls

    Suppose we wish to write a “shell program” which would execute another program. Now, in a computing system, a process executes a program. So this shell program (or, process, at run time) needs to create a process which would execute a program. Here, two system calls are ...

  • Program, Process and Threads

    PROGRAM

    The definition of program is linked to the definition of algorithm. An algorithm is a sequence of finite steps which can be executed mechanically to solve a problem. The key points are that algorithms are self-contained; the steps given are sufficient to solve the problem at hand. No additional information is required. Also, ...

Tags: