Charles-François Natali
a924fc7abc
Issue #21565 : multiprocessing: use contex-manager protocol for synchronization
...
primitives.
2014-05-25 14:12:12 +01:00
Victor Stinner
7fa767e517
Issue #20976 : pyflakes: Remove unused imports
2014-03-20 09:16:38 +01:00
Victor Stinner
67973c0279
Issue #18865 : remove unused import from multiprocessing.util.spawnv_passfds()
2013-08-28 12:21:47 +02:00
Richard Oudkerk
0d097b6299
Issue #18865 : PEP 446 makes multiprocessing.util.pipe() unnecessary.
2013-08-28 11:25:34 +01:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Richard Oudkerk
84ed9a68bd
Issue #8713 : Support alternative start methods in multiprocessing on Unix.
...
See http://hg.python.org/sandbox/sbt#spawn
2013-08-14 15:35:41 +01:00
Richard Oudkerk
409c31390f
Issue #17555 : Fix ForkAwareThreadLock so that size of after fork
...
registry does not grow exponentially with generation of process.
2013-04-17 20:58:00 +01:00
Andrew Svetlov
5b89840d9c
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Richard Oudkerk
e8cd6bb127
Issue #15881 : Clarify comment in exit function
2012-09-13 17:27:15 +01:00
Alexander Belopolsky
5bedef3e64
Issue #15881 : Fixed 3.2 backport.
2012-09-09 13:31:08 -04:00
Alexander Belopolsky
7f704c11db
Fixed whitespace
2012-09-09 13:25:06 -04:00
Alexander Belopolsky
36351564a2
Fixed whitespace
2012-09-09 13:22:45 -04:00
Alexander Belopolsky
f36c49d124
Issue #15881 : Fixed atexit hook in multiprocessing.
2012-09-09 13:20:58 -04:00
Alexander Belopolsky
59fb38b582
Issue #15881 : Fixed atexit hook in multiprocessing.
2012-09-09 13:16:15 -04:00
Richard Oudkerk
73d9a292ae
Issue #13841 : Make child processes exit using sys.exit() on Windows
2012-06-14 15:30:10 +01:00
Richard Oudkerk
ad06444d6c
Make Finalize reserve a reference to os.getpid in case called at shutdown
2012-06-04 18:58:59 +01:00
Richard Oudkerk
739ae5692e
Issue #14548 : Make multiprocessing finalizers check pid before running
...
This protects from possibilty of gc running just after fork.
2012-05-25 13:54:53 +01:00
Antoine Pitrou
fa67aa0d72
Fix whitespace
2012-05-18 18:33:32 +02:00
Antoine Pitrou
ebdcd859e5
Move private function _args_from_interpreter_flags() to subprocess.py, so
...
that it can be imported when threads are disabled.
(followup to issue #12098 )
2012-05-18 18:33:07 +02:00
Richard Oudkerk
77c84f2def
#12098 : Make multiprocessing's child processes inherit sys.flags on Windows
...
Initial patch by Sergey Mezentsev.
2012-05-18 14:28:02 +01:00
Richard Oudkerk
59d5404bc7
Issue #14753 : Make multiprocessing treat negative timeouts as it did in 3.2
...
In Python 3.2 and earlier, Process.join() and Connection.poll()
treated negative timeouts as zero timeouts. Earlier versions from
the 3.3 line of development treat them as infinite timeouts.
The patch reverts to the old behaviour.
2012-05-10 16:11:12 +01:00
Richard Oudkerk
3e268aac3b
Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"
...
instead of BSD licence.
2012-04-30 12:13:55 +01:00
Florent Xicluna
04842a84c3
Remove unused or redundant imports in concurrent.futures and multiprocessing.
2011-11-11 20:05:50 +01:00
Antoine Pitrou
24d659daaf
Use InterruptedError instead of checking for EINTR
2011-10-23 23:49:42 +02:00
Antoine Pitrou
71a28a9174
Rebind locally the globals which can be looked up at shutdown
...
(to avoid the warnings seen on a buildbot)
2011-07-09 01:03:00 +02:00
Antoine Pitrou
34b312e33d
Whitespace normalization
2011-06-06 19:36:01 +02:00
Antoine Pitrou
176f07dadf
Issue #12040 : Expose a new attribute `sentinel` on instances of
...
:class:`multiprocessing.Process`. Also, fix Process.join() to not use
polling anymore, when given a timeout.
2011-06-06 19:35:31 +02:00
R. David Murray
3fc969a4a2
9162: fix license in multiprocessing files
2010-12-14 01:38:16 +00:00
Jesse Noller
41faa543b6
merge r68915 to py3k
2009-01-25 03:45:53 +00:00
Jesse Noller
9a0fc97bf4
merge cl r68737 to py3k
2009-01-18 21:12:58 +00:00
Amaury Forgeot d'Arc
949d47dc7a
Issue #3125 : Remove copy_reg in multiprocessing and replace it with
...
ForkingPickler.register() to resolve conflict with ctypes.
2008-08-19 21:30:55 +00:00
Benjamin Peterson
58ea9fedc8
Merged revisions 65864 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65864 | jesse.noller | 2008-08-19 14:06:19 -0500 (Tue, 19 Aug 2008) | 2 lines
issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included.
........
2008-08-19 19:17:39 +00:00
Benjamin Peterson
e711cafab1
Merged revisions 64104,64117 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64104 | benjamin.peterson | 2008-06-10 21:40:25 -0500 (Tue, 10 Jun 2008) | 2 lines
add the multiprocessing package to fulfill PEP 371
........
r64117 | benjamin.peterson | 2008-06-11 07:26:31 -0500 (Wed, 11 Jun 2008) | 2 lines
fix import of multiprocessing by juggling imports
........
2008-06-11 16:44:04 +00:00