Date: Thu, 16 Jun 2005 16:18:57 +0200 From: Marc Olzheim <marcolz@stack.nl> To: David Xu <davidxu@freebsd.org> Cc: Andriy Tkachuk <ant@emict.com>, freebsd-threads@freebsd.org Subject: Re: more than 2k threads with -lpthread or -lthr Message-ID: <20050616141857.GA63602@stack.nl> In-Reply-To: <42B159E4.8080501@freebsd.org> References: <200506161309.51431.ant@emict.com> <42B159E4.8080501@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 16, 2005 at 06:52:20PM +0800, David Xu wrote: > Both libpthread and libthr use 1M bytes stack on 32bits platform > and 2M bytes stack on 64bits platform. I think 2k threads needs > 2G stack on i386, this is too large. In which case pthread_attr_setstacksize() might help ? Marc --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCsYpRezjnobFOgrERApNuAKCZTR7MHo1jbvavXtAgttwdbv2rwgCfRbe3 hX/mus8eMQiIWZjZ9xXh4XE= =UIM9 -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050616141857.GA63602>