Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 11:10:00 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Daniel Eischen <deischen@FreeBSD.org>
Subject:   Re: cvs commit: src/lib/libpthread/thread thr_attr_init.c thr_init.c thr_private.h thr_stack.c
Message-ID:  <20050215091000.GF6781@ip.net.ua>
In-Reply-To: <4210EA79.5010806@marcuscom.com>
References:  <Pine.GSO.4.43.0502140958440.20689-100000@sea.ntplx.net> <4210EA79.5010806@marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <marcus@marcuscom.com> [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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050215091000.GF6781>