Package SCons :: Module Job
[hide private]
[frames] | no frames]

Module Job

source code


This module defines the Serial and Parallel classes that execute tasks to
complete a build. The Jobs class provides a higher level interface to start,
stop, and wait on jobs.

Classes [hide private]
An instance of this class initializes N jobs, and provides methods for starting, stopping, and waiting on all N jobs.
This class is used to execute tasks in series, and is more efficient than Parallel, but is only appropriate for non-parallel builds.
A worker thread waits on a task to be posted to its request queue, dequeues the task, executes it, and posts a tuple including the task and a boolean indicating whether the task executed successfully.
This class is responsible for spawning and managing worker threads.
This class is used to execute tasks in parallel, and is somewhat less efficient than Serial, but is appropriate for parallel builds.
Variables [hide private]
  __revision__ = 'src/engine/SCons/ 3842 2008/12/20 22:59:...
  explicit_stack_size = False
  default_stack_size = 256
  interrupt_msg = 'Build interrupted.'
Variables Details [hide private]


'src/engine/SCons/ 3842 2008/12/20 22:59:52 scons'