Re: cvs commit: src/lib/libpthread/thread thr_attr_init.c thr_init.c thr_private.h thr_stack.c

[ Available lists | Index of cvs-src | Month of Feb 2005 | Week of 15 Feb 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Ruslan Ermilov <ru@FreeBSD.org>
Date
15 Feb 2005 09:10:18
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


[ Hide this part ]
On Mon, Feb 14, 2005 at 01:14:17PM -0500, Joe Marcus Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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!
> |
>
> 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.
>
Except that libpthread == libc_r on some arches. ;)


Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.189 seconds