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

Joe Marcus Clarke marcus at marcuscom.com
Mon Feb 14 18:14:20 GMT 2005


-----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.

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCEOp5b2iPiv4Uz4cRAvcMAJ9utRiB6TRx8u+FYyIUnj/YmfgZlQCfdQWU
VrwTjwpoANMrdelkyDHlSp4=
=6cjT
-----END PGP SIGNATURE-----


More information about the cvs-all mailing list