TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Doug Nazar
date: 1996-07-07 13:42:58
subject: sys3171

Hello Phil!

Saturday July 06 1996 14:09, Phil Crown wrote to Doug Nazar:

PC> I tried to increase the stack size, but it didn't help.  Grepping the
PC> OWL source shows that it uses 4096 byte stack by default when it calls
PC> _beginthread(), and the only way to increase the stack it is to override
PC> the member function that starts the thread, which I tried, but it didn't
PC> help.

Do you know if Borland's _beginthread() uses the STACK_SPARSE or
STACK_COMMITED flag to DosCreateThread?

PC> I think the problem is that secondary threads are more difficult to
PC> manage under OWL for OS/2.

Sound's that way. Although it could be Borland itself .

PC> IBM's Open Class Library works great. :-)

I know. I've fallen in love with the tracing facility. Now that I've looked
at it it makes so much sense I wish I'd thought of it before.

Doug

--- GoldED/2 2.50+
* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 250/516 101 99 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

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