41 Commits

Author SHA1 Message Date
Martin Panter
ca56dd4767 Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 07:54:55 +00:00
Charles-François Natali
674a3cd20b Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Linux PID namespaces enabled.
2016-02-12 22:39:21 +00:00
Richard Oudkerk
41072db709 Issue #17097: Make multiprocessing ignore EINTR. 2013-07-01 18:45:28 +01:00
doko@ubuntu.com
9855249a9f - Fix typos in the multiprocessing module. 2013-05-15 16:54:16 +02:00
Richard Oudkerk
90b5d9288d Issue #10527: Use poll() instead of select() for multiprocessing pipes 2013-01-14 23:09:14 +00:00
Richard Oudkerk
7450a81970 Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy. 2013-01-01 17:25:09 +00:00
Richard Oudkerk
926f58df57 Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
2012-06-11 15:11:35 +01:00
Richard Oudkerk
9a16fa69dd Fix for issue 14725 for 2.7 branch 2012-05-05 20:41:08 +01:00
Charles-François Natali
b275e2d5e5 Issue #4028: Make multiprocessing build on SunOS. 2011-12-14 18:35:55 +01:00
Jesus Cea
c23484b21f Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received 2011-09-21 03:47:39 +02:00
Jesus Cea
79e7c4e395 Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana 2011-09-10 04:04:09 +02:00
Antoine Pitrou
a1a8da8bf5 Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Also added some tests.
2011-08-23 19:54:20 +02:00
Georg Brandl
7e7a3a76fc Merged revisions 85679 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85679 | georg.brandl | 2010-10-18 07:06:18 +0200 (Mo, 18 Okt 2010) | 1 line

  Fix compiler warnings about formatting pid_t as an int, by always casting to long.
........
2010-11-23 07:56:33 +00:00
Benjamin Peterson
a25fc1ef87 Merged revisions 85665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85665 | benjamin.peterson | 2010-10-17 16:12:18 -0500 (Sun, 17 Oct 2010) | 1 line

  fix strict aliasing warnings
........
2010-10-17 21:17:38 +00:00
Georg Brandl
95898c4291 Fix compiler warning: module init functions do not return anything in 2.x. 2010-10-17 06:09:51 +00:00
Gregory P. Smith
886a1cd7dc Merged revisions 85586-85587,85596-85598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines

  fix for netbsd.
........
  r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines

  applying netbsd-wizs-mod.patch from issue5510 -
   fixes for netbsd (and dragonflybsd?)
........
  r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines

  Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
  as (~0U) on NetBSD which was causing it to appear as -1 when used as
  a signed int for _multprocessing.SemLock.SEM_VALUE_MAX.  This works
  around the problem by substituting INT_MAX on systems where it appears
  negative when used as an int.
........
  r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines

  skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
........
  r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines

  Avoid hanging the test on netbsd5.
........
2010-10-17 04:28:14 +00:00
Martin v. Löwis
26eec58770 Issue #8864: Define _XOPEN_SOURCE on Solaris for the
multiprocessing module.
2010-06-04 17:18:42 +00:00
Antoine Pitrou
c83ea137d7 Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
Brett Cannon
7a4cd7e1e2 Remove extraneous whitespace. 2010-05-05 20:15:14 +00:00
Mark Dickinson
5afa6d4dcf Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available;  define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.
2009-11-28 10:44:20 +00:00
Mark Dickinson
c4920e86ef Issue #7272: Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal.  This should fix some FreeBSD buildbot
failures for test_multiprocessing.
2009-11-20 19:30:22 +00:00
Jesus Cea
869321484d multiprocessing doesn't compile in Solaris because a typo 2009-07-02 14:30:18 +00:00
Jesse Noller
5053fbbb38 Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES 2009-04-02 04:22:09 +00:00
Jesse Noller
b502bc7a1a Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis 2009-04-02 02:32:55 +00:00
Jesse Noller
355b1264b8 issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis for help 2009-04-02 00:03:28 +00:00