Processes and threads

Code No
Skill Category No: 
2
Skill No: 
4
Topic No: 
9
Level: 
II
Objective: 

Knowing how to create process, to execute a program and to manage the process

Prerequisite: 
  • Understanding the difference between processes and threads in Linux
  • Setting the schedule class of a process
    •  nice(), sched_getparam(), sched_setparam()
  • Create process
    •  fork()
  • Execute a program
    •  exec() and its variants
    •  system()
  • Other process-related functions
    •  wait(), kill(), …
  • Daemonize a process