From owner-cvs-all@FreeBSD.ORG Wed Mar 21 21:40:25 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B08D16A414; Wed, 21 Mar 2007 21:40:25 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB5813C4B0; Wed, 21 Mar 2007 21:40:25 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2LLeP2Y027457; Wed, 21 Mar 2007 21:40:25 GMT (envelope-from tegge@repoman.freebsd.org) Received: (from tegge@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2LLePZC027456; Wed, 21 Mar 2007 21:40:25 GMT (envelope-from tegge) Message-Id: <200703212140.l2LLePZC027456@repoman.freebsd.org> From: Tor Egge Date: Wed, 21 Mar 2007 21:40:25 +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/devel/linuxthreads/files patch-aa wraputhread.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 21:40:25 -0000 tegge 2007-03-21 21:40:25 UTC FreeBSD ports repository Modified files: devel/linuxthreads/files patch-aa wraputhread.c Log: Correct retrieval of stack address and size when getting the current thread attributes for the main thread. Add emulation of native threads (libc_r) method of getting the current thread attributes (pthread_attr_get_np()) and adjust emulation of native threads pthread_attr_getstackaddr() to return bottom of stack instead of top of stack. Correct emulation of native threads pthread_mutexattr_settype() when selecting recursive mutexes. Previously, the argument conversion before calling the linuxthreads version of pthread_mutexattr_setattr() ended up selecting errorcheck mutexes instead of recursive mutexes. Revision Changes Path 1.27 +20 -0 ports/devel/linuxthreads/files/patch-aa 1.5 +19 -3 ports/devel/linuxthreads/files/wraputhread.c