From owner-cvs-all@FreeBSD.ORG Sat Mar 14 09:33:41 2009 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E5F8106564A; Sat, 14 Mar 2009 09:33:41 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3A9308FC08; Sat, 14 Mar 2009 09:33:41 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2E9XfU1077068; Sat, 14 Mar 2009 09:33:41 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2E9XfHr077067; Sat, 14 Mar 2009 09:33:41 GMT (envelope-from bms) Message-Id: <200903140933.n2E9XfHr077067@repoman.freebsd.org> From: Bruce M Simpson Date: Sat, 14 Mar 2009 09:33:41 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/lang/python26 Makefile pkg-message ports/lang/python26/files extra-patch-configure-pth extra-patch-setup.py patch-Lib_test_test_threading.py patch-Python_thread__pthread.h pkg-message.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 09:33:41 -0000 bms 2009-03-14 09:33:41 UTC FreeBSD ports repository (src committer) Modified files: lang/python26 Makefile lang/python26/files patch-Python_thread__pthread.h Added files: lang/python26/files extra-patch-configure-pth extra-patch-setup.py patch-Lib_test_test_threading.py pkg-message.in Removed files: lang/python26 pkg-message Log: Add support for building Python against GNU Portable Threads (Pth), and also add experimental support for POSIX semaphores in FreeBSD 7-STABLE and up. The option knobs PTH and SEM respectively are added to enable this behaviour. Python is able to use POSIX semaphores for thread synchronization in threading, and prefers them. The multiprocessing module in Python 2.6 requires POSIX semaphores, however, the FreeBSD rtld and malloc need further work to allow a process to call pthread_create() immediately after fork() as it is not something allowed by a strict interpretation of the POSIX specs; therefore allow GNU Pth to be used until the situation is resolved. Approved by: miwi Revision Changes Path 1.157 +29 -2 ports/lang/python26/Makefile 1.1 +12 -0 ports/lang/python26/files/extra-patch-configure-pth (new) 1.1 +26 -0 ports/lang/python26/files/extra-patch-setup.py (new) 1.1 +11 -0 ports/lang/python26/files/patch-Lib_test_test_threading.py (new) 1.2 +33 -8 ports/lang/python26/files/patch-Python_thread__pthread.h 1.1 +18 -0 ports/lang/python26/files/pkg-message.in (new) 1.2 +0 -11 ports/lang/python26/pkg-message (dead)