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

Module Job

source code

SCons.Job

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]
  InterruptState
  Jobs
An instance of this class initializes N jobs, and provides methods for starting, stopping, and waiting on all N jobs.
  Serial
This class is used to execute tasks in series, and is more efficient than Parallel, but is only appropriate for non-parallel builds.
  Worker
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.
  ThreadPool
This class is responsible for spawning and managing worker threads.
  Parallel
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/Job.py 5357 2011/09/09 21:31:...
  explicit_stack_size = None
hash(x)
  default_stack_size = 256
  interrupt_msg = 'Build interrupted.'
  __package__ = 'SCons'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Job.py 5357 2011/09/09 21:31:03 bdeegan'