Chapter 2. Programs, Processes and Threads

Team-FLY

One popular definition of a process is an instance of a program whose execution has started but has not yet terminated . This chapter discusses the differences between programs and processes and the ways in which the former are transformed into the latter. The chapter addresses issues of program layout, command-line arguments, program environment and exit handlers.

Objectives

  • Learn about programs, processes and threads

  • Experiment with memory allocation and manipulation

  • Explore implications of static objects

  • Use environment variables for context

  • Understand program structure and layout

Team-FLY


Unix Systems Programming
UNIX Systems Programming: Communication, Concurrency and Threads
ISBN: 0130424110
EAN: 2147483647
Year: 2003
Pages: 274

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net