On Tue, 08 Jul 2003 16:40:39 -0500, Dan Nelson wrote:
>
>Threaded applications on x86 usually have much smaller default stack 
>limits, averaging 64-128k, because all threads must share the same 
>address space, and a 4MB stack gives you a theoretical limit of only 
>1024 threads (assuming your kernel uses no memory and your process 
>allocates no data, just stack :)

Delving deeply into pedantics, the default stack size for a Win32 CreateThread 
call is 1MB, but you bump into other limits long before you get to 2048 threads 
(given the 2GB user-mode address space).


--
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to