Permalink
Commits on Jun 3, 2012
  1. MP_MAIN_FILE envvar is now set to the path of the __main__m module wh…

    ask committed Jun 3, 2012
    …en execv is enabled
Commits on Jun 1, 2012
Commits on May 31, 2012
  1. Py3k support

    ask committed May 31, 2012
Commits on May 25, 2012
  1. Issue #12091: simplify ApplyResult and MapResult with threading.Event

    ask committed May 25, 2012
    Patch by Charles-François Natali
Commits on May 22, 2012
  1. Pool: Support running without TimeoutHandler thread.

    ask committed May 22, 2012
    - The with_*_thread arguments has also been replaced with
      a single `threads=True` argument.
    
    - Two new pool callbacks:
    
        - ``on_timeout_set(job, soft, hard)``
    
            Applied when a task is executed with a timeout.
    
        - ``on_timeout_cancel(job)``
    
            Applied when a timeout is cancelled (the job completed)
  2. Python2.5 fixes

    ask committed May 22, 2012
Commits on May 21, 2012
  1. flake8

    ask committed May 21, 2012
  2. Adds Pool.did_start_ok: For eventloops to verify that the processes d…

    ask committed May 21, 2012
    …id not immediately exit
  3. Pool: Process restart rate protection now only counts process with no…

    ask committed May 21, 2012
    …n-successful exitcodes (to work with maxtasksperchild etc)
Commits on May 18, 2012
  1. Merge branch 'master' into override_semaphore

    ask committed May 18, 2012
    Conflicts:
    	billiard/pool.py
  2. Can now disable task_handler and supervisor threads

    ask committed May 18, 2012
    By setting with_task_thread=False, or with_supervisor_thread=False.
    
    If supervisor is disabled then self.eventmap is updated
    with the fds of all pool processes sentinels pointing to
    self.maintain_pool.
    
    In addition to new callbacks has been added:
       on_process_created= and on_process_down=
    
    Both take a single argument, which is the Process instance
    created/lost, these callbacks can be used to update an event loop
    with new and removed process fds.
Commits on May 17, 2012
  1. Allow specifying custom semaphore

    ask committed May 17, 2012
Commits on May 16, 2012
Commits on May 15, 2012
  1. Pool: Adds option to not start result handler thread, and the possibi…

    ask committed May 15, 2012
    …lity to drain results using epoll/kqueue/select
Commits on May 14, 2012
  1. PEP8ify

    ask committed May 14, 2012
  2. Fixes typo

    ask committed May 14, 2012
Commits on May 11, 2012
  1. Max restart freq is now 100 * processes per second, and takes low val…

    ask committed May 11, 2012
    …ues of maxtasksperchild into account.
  2. Pool: New options max_restart + max_restart_freq

    ask committed May 11, 2012
    This means that the supervisor can't restart processes
    faster than max_restart' times per max_restart_freq seconds.
    
    (like the Erlang supervisor maxR & maxT settings).
    
    The pool is closed and joined if the max restart
    frequency is exceeded.
    
    Previously it would keep restarting very quickly.
    
    The current default value is to stop if it exceeds
    3 restarts in 60 seconds.  This may have to be tweaked.
Commits on May 9, 2012
  1. Fixes rst in CHANGES.txt

    ask committed May 9, 2012
  2. Clean up after exc_info()

    ask committed May 9, 2012
  3. Fixes typo

    ask committed May 9, 2012