Processes

CS 321 2007 Lecture, Dr. Lawlor

Finish talking about syscalls, give some examples.  Announce syscall homework due Friday.

The textbook actually describes the basics of processes better than I can here.  A process is basically one execution of a program/application.

A process boils down to:
In Linux, there's one struct, the "task_struct", that contains everything a process needs.  task_struct is in /usr/include/linux/sched.h.

You create new processes with CreateProcess / CreateProcessAsUser (Windows) or fork (UNIX).