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

Ruslan Ermilov ru at FreeBSD.org
Tue Feb 15 09:10:18 GMT 2005


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 at 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 at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050215/28366dd3/attachment.bin


More information about the cvs-all mailing list