From owner-cvs-all@FreeBSD.ORG Tue Feb 15 09:10:18 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 605B116A4CE; Tue, 15 Feb 2005 09:10:18 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95FE643D3F; Tue, 15 Feb 2005 09:10:17 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1F99w7J074675; Tue, 15 Feb 2005 11:09:58 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 97131-01; Tue, 15 Feb 2005 11:09:57 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1F99vd3074671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2005 11:09:57 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j1F9A14o014486; Tue, 15 Feb 2005 11:10:01 +0200 (EET) (envelope-from ru) Date: Tue, 15 Feb 2005 11:10:00 +0200 From: Ruslan Ermilov To: Joe Marcus Clarke Message-ID: <20050215091000.GF6781@ip.net.ua> References: <4210EA79.5010806@marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qM81t570OJUP5TU/" Content-Disposition: inline In-Reply-To: <4210EA79.5010806@marcuscom.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: John-Mark Gurney cc: src-committers@FreeBSD.org cc: Maxime Henrion cc: cvs-src@FreeBSD.org cc: Alfred Perlstein cc: cvs-all@FreeBSD.org cc: Daniel Eischen Subject: Re: cvs commit: src/lib/libpthread/thread thr_attr_init.c thr_init.c thr_private.h thr_stack.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 15 Feb 2005 09:10:18 -0000 --qM81t570OJUP5TU/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 14, 2005 at 01:14:17PM -0500, Joe Marcus Clarke wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Daniel Eischen wrote: > | On Mon, 14 Feb 2005, Alfred Perlstein wrote: > | > | > |>* Joe Marcus Clarke [050213 20:30] wrote: > |> > |>>This works for all threads but the initial thread. Gstreamer uses this > |>>thread for most of its operations. That stack size was set to be 1 MB > |>>when gstreamer really wanted 2. For all other thread problems, yes, I > |>>used pthread_attr_setstacksize() as the solution. > |> > |>Can't you wrap main and bounce into it with a thread that has been > |>created using pthread_attr_setstacksize()? > | > | > | Exactly! > | >=20 > Not really. It's not that simple. Gstreamer is a library. I would > have to wrap all the mains of all the dependent apps. But now I don't > need to bother...at least not with libpthread on -CURRENT. >=20 Except that libpthread =3D=3D libc_r on some arches. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --qM81t570OJUP5TU/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCEbxoqRfpzJluFF4RAp6cAKCZX4EIhB8JHXladnLAtSmhFLh9BwCfZ1Rv B11x8/aDArw1T4fSRlgcCkI= =WlvJ -----END PGP SIGNATURE----- --qM81t570OJUP5TU/--