TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: IAN MOOTE
from: MIKE RUSKAI
date: 1999-09-16 12:39:00
subject: Maximum threads.

Some senseless babbling from Ian Moote to Vitus Jensen
on 09-15-99  22:00 about Maximum threads....

 VJ> If you don't mind any uneven distribution of CPU time see this post:

 IM> Thanks for all the additional info. So, although there is a
 IM> system-wide  limit of 4095, there is a per process limit of 1500? I
 IM> think that's  still workable for me. Hopefully I won't even approach
 IM> 3000, but the  potential's more than there to do so.

No, there's no set limit per process.  The only limitation is the 
per-process address space.  The larger the thread stack, the less threads 
you can start.  If you're going to use that many threads in a process, 
getting near the process address space limit (which, jumps to 3GB for 
32-bit programs running under Warp 5, AKA WSeB, and Warp Server 4), it's 
important to check all memory allocations, so you don't end up crashing 
your program.

Mike Ruskai
thannymeister@yahoo.com


... Almost everything in life is easier to get into than out of.

___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.