mercurial/worker.py
Sat, 26 Oct 2024 23:33:19 +0200 Pierre-Yves David branching: merge stable into default
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Fri, 25 Oct 2024 00:46:22 +0200 Pierre-Yves David pycompat: ignore the fork + thread warning for now stable
Thu, 03 Aug 2023 02:30:57 +0200 Jean-Francois Pieronne openvms: consider worker costly on OpenVMS
Fri, 06 Jan 2023 15:17:14 +0000 Arseniy Alekseyev worker: avoid reading 1 byte at a time from the OS pipe
Tue, 18 Oct 2022 13:56:45 -0400 Matt Harbison lfs: avoid closing connections when the worker doesn't fork stable
Tue, 31 May 2022 23:45:33 +0200 Manuel Jacob py3: catch ProcessLookupError instead of checking errno == ESRCH
Tue, 31 May 2022 04:18:22 +0200 Manuel Jacob py3: catch ChildProcessError instead of checking errno == ECHILD
Tue, 31 May 2022 04:11:34 +0200 Manuel Jacob py3: remove retry on EINTR errno
Sat, 28 May 2022 22:08:13 +0200 Manuel Jacob thirdparty: remove Python 2-specific selectors2 copy
Sun, 22 May 2022 03:50:34 +0200 Manuel Jacob worker: avoid potential partial write of pickled data
Sun, 22 May 2022 00:10:58 +0200 Manuel Jacob worker: implement _blockingreader.readinto() (issue6444)
Sat, 21 May 2022 23:31:30 +0200 Manuel Jacob worker: stop relying on garbage collection to release memoryview
Sat, 21 May 2022 22:24:02 +0200 Manuel Jacob worker: add docstring to _blockingreader
Sat, 21 May 2022 22:22:19 +0200 Manuel Jacob worker: explain why pickle reading stream has to be unbuffered
Wed, 25 May 2022 17:23:16 +0200 Manuel Jacob branching: fix wrong merge conflict resolution from 13dfad0f9f7a
Wed, 25 May 2022 13:28:24 +0200 Raphaël Gomès branching: merge stable into default
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Thu, 03 Mar 2022 17:39:20 -0800 Gregory Szorc worker: silence type error when calling pickle
Mon, 21 Feb 2022 10:39:48 -0700 Gregory Szorc worker: remove Python 2 support code
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Tue, 01 Mar 2022 20:29:03 -0800 Gregory Szorc py3: use pickle directly
Tue, 17 May 2022 14:36:57 -0400 Matt Harbison worker: adapt _blockingreader to work around a python3.8.[0-1] bug (issue6444) stable
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Thu, 11 Mar 2021 21:09:55 -0500 Matt Harbison typing: disable a module-attr warning in the worker module's py2 code stable
Mon, 28 Dec 2020 01:05:09 +0100 Joerg Sonnenberger worker: POSIX only supports workers from main thread (issue6460)
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Sat, 07 Nov 2020 21:50:28 -0800 Martin von Zweigbergk worker: raise exception instead of calling sys.exit() with child's code
Fri, 14 Aug 2020 20:45:49 -0700 Martin von Zweigbergk worker: don't expose readinto() on _blockingreader since pickle is picky
Thu, 13 Aug 2020 10:37:25 -0700 Martin von Zweigbergk posixworker: avoid creating workers that end up getting no work
Tue, 04 Feb 2020 22:07:36 +0100 Jan Alexander Steffens (heftig) worker: manually buffer reads from pickle stream stable
Thu, 30 Jan 2020 19:16:12 +0100 Jan Alexander Steffens (heftig) worker: Use buffered input from the pickle stream stable
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Thu, 27 Jun 2019 11:39:35 +0200 Valentin Gatien-Baron update: fix spurious unclean status bug shown by previous commit
Wed, 12 Jun 2019 13:10:52 -0400 Valentin Gatien-Baron worker: support parallelization of functions with return values
Tue, 18 Dec 2018 10:21:25 -0500 Augie Fackler merge with stable
Thu, 25 Oct 2018 22:13:22 -0400 Matt Harbison py3: roll up threading.Thread constructor args into **kwargs
Tue, 11 Dec 2018 22:34:07 +0900 Yuya Nishihara worker: do not swallow exception occurred in main process stable
Thu, 19 Jul 2018 21:36:24 +0900 Yuya Nishihara worker: call selector.close() to release polling resources stable
Wed, 18 Jul 2018 09:46:45 -0700 Gregory Szorc worker: ability to disable thread unsafe tasks
Tue, 17 Jul 2018 16:57:27 -0700 Gregory Szorc worker: rename variable to reflect constant
Mon, 16 Jul 2018 17:52:17 -0700 Danny Hooper worker: use one pipe per posix worker and select() in parent process
Tue, 26 Jun 2018 15:27:29 -0700 Danny Hooper worker: support more return types in posix worker
Sat, 05 May 2018 18:35:16 -0700 Gregory Szorc pycompat: export queue module instead of symbols in module (API)
Sat, 10 Mar 2018 15:57:16 +0900 Yuya Nishihara py3: use r'' instead of sysstr('') to get around code transformer
Mon, 18 Dec 2017 15:18:37 -0800 Wojciech Lis worker: handle interrupt on windows
Thu, 30 Nov 2017 16:01:53 -0800 Wojciech Lis worker: make windows workers daemons
Sun, 17 Dec 2017 11:26:25 -0800 Wojciech Lis workers: add config to enable/diable workers
Mon, 20 Nov 2017 10:27:41 -0800 Wojciech Lis workers: handling exceptions in windows workers
Mon, 20 Nov 2017 10:25:29 -0800 Wojciech Lis workers: implemented worker on windows
Thu, 12 Oct 2017 09:04:22 -0700 Jun Wu codemod: use pycompat.isposix
Thu, 12 Oct 2017 23:30:46 -0700 Jun Wu codemod: use pycompat.iswindows
Wed, 31 May 2017 23:42:58 +0530 Pulkit Goyal py3: pass str in os.sysconf()
Sat, 22 Apr 2017 16:50:08 -0700 Jun Wu worker: rewrite error handling so os._exit covers all cases
Sat, 15 Apr 2017 13:04:55 +0900 Yuya Nishihara worker: print traceback for uncaught exception unconditionally
Sat, 15 Apr 2017 13:27:44 +0900 Yuya Nishihara worker: propagate exit code to main process
Tue, 28 Mar 2017 10:21:38 -0700 David Soria Parra worker: flush ui buffers before running the worker
Tue, 28 Feb 2017 11:13:25 -0800 Martin von Zweigbergk merge with stable
Mon, 13 Feb 2017 20:06:38 +0530 Pulkit Goyal py3: convert the mode argument of os.fdopen to unicodes (1 of 2)
Sat, 25 Feb 2017 12:48:50 +0900 Yuya Nishihara worker: flush messages written by child processes before exit stable
Sat, 25 Feb 2017 01:07:52 +0900 FUJIWARA Katsunori worker: ignore meaningless exit status indication returned by os.waitpid() stable
Mon, 19 Dec 2016 00:16:52 +0530 Pulkit Goyal py3: replace os.name with pycompat.osname (part 1 of 2)
Sun, 18 Dec 2016 01:46:39 +0530 Pulkit Goyal py3: replace os.environ with encoding.environ (part 2 of 5)
Thu, 24 Nov 2016 01:15:34 +0000 Jun Wu worker: use os._exit for posix worker in all cases
Thu, 17 Nov 2016 20:57:09 +0900 Yuya Nishihara worker: discard waited pid by anyone who noticed it first
Thu, 17 Nov 2016 21:08:58 +0900 Yuya Nishihara worker: kill workers after all zombie processes are reaped
Thu, 17 Nov 2016 20:44:05 +0900 Yuya Nishihara worker: make sure killworkers() never be interrupted by another SIGCHLD
Thu, 17 Nov 2016 21:43:01 +0900 Yuya Nishihara worker: fix missed break on successful waitpid()
Sat, 12 Nov 2016 03:06:07 +0000 Jun Wu worker: stop using a separate thread waiting for children
Sat, 12 Nov 2016 03:07:22 +0000 Jun Wu worker: add a SIGCHLD handler to collect worker immediately
Tue, 15 Nov 2016 02:12:16 +0000 Jun Wu worker: make waitforworkers reentrant
Tue, 15 Nov 2016 02:10:40 +0000 Jun Wu worker: change "pids" to a set
Thu, 28 Jul 2016 20:57:07 +0100 Jun Wu worker: allow waitforworkers to be non-blocking
Thu, 28 Jul 2016 20:51:20 +0100 Jun Wu worker: wait worker pid explicitly
Thu, 28 Jul 2016 20:49:57 +0100 Jun Wu worker: move killworkers and waitforworkers up
Mon, 14 Nov 2016 23:12:11 +0000 Jun Wu worker: migrate to util.iterfile
Sat, 27 Feb 2016 21:43:17 -0800 Gregory Szorc worker: document poor partitioning scheme impact
Sat, 20 Feb 2016 15:56:44 -0800 Gregory Szorc worker: change partition strategy to every Nth element
Thu, 08 Oct 2015 12:55:45 -0700 Pierre-Yves David error: get Abort from 'error' instead of 'util'
Thu, 08 Oct 2015 10:57:03 -0700 Gregory Szorc worker: restore old countcpus code (issue4869)
Mon, 25 May 2015 13:10:38 -0700 Gregory Szorc worker: use multiprocessing to find cpu count
Sat, 08 Aug 2015 18:44:41 -0700 Gregory Szorc worker: use absolute_import
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Fri, 15 Aug 2014 16:20:47 +0200 Mads Kiilerich cleanup: avoid _ for local unused tmp variables - that is reserved for i18n
Wed, 06 Nov 2013 16:48:06 -0500 Augie Fackler cleanup: move stdlib imports to their own import statement
Tue, 16 Jul 2013 15:18:12 -0500 Matt Mackall worker: properly report errors from worker processes (issue3982)
Tue, 16 Jul 2013 11:53:53 -0500 Matt Mackall worker: check problem state correctly (issue3982)
Fri, 12 Apr 2013 17:16:37 -0700 Bryan O'Sullivan worker: add missing import of errno
Thu, 11 Apr 2013 13:30:31 -0700 Bryan O'Sullivan worker: catch all exceptions, try to exit usefully/safely
Wed, 20 Feb 2013 11:31:34 -0800 Bryan O'Sullivan worker: handle worker failures more aggressively
Wed, 20 Feb 2013 11:31:31 -0800 Bryan O'Sullivan worker: fix a race in SIGINT handling
Wed, 20 Feb 2013 11:31:27 -0800 Bryan O'Sullivan worker: on error, exit similarly to the first failing worker
Sat, 09 Feb 2013 15:51:32 -0800 Bryan O'Sullivan worker: allow a function to be run in multiple worker processes
Sat, 09 Feb 2013 15:51:32 -0800 Bryan O'Sullivan worker: partition a list (of tasks) into equal-sized chunks
Sat, 09 Feb 2013 15:51:26 -0800 Bryan O'Sullivan worker: estimate whether it's worth running a task in parallel
Sat, 09 Feb 2013 15:22:12 -0800 Bryan O'Sullivan worker: count the number of CPUs
less more (0) tip