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. Only one instance of this class should be in existence at a time.
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/ rel_2.4.1:3453:73fefd3...
  explicit_stack_size = None
  default_stack_size = 256
  interrupt_msg = 'Build interrupted.'
  __package__ = 'SCons'
Variables Details [hide private]


'src/engine/SCons/ rel_2.4.1:3453:73fefd3ea0b0 2015/11/09 03:25:\
05 bdbaddog'