TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Doug Nazar
from: Phil Crown
date: 1996-07-09 08:07:28
subject: sys3171

-=> Quoting Doug Nazar to Phil Crown <=- 

 DN> Hello Phil!

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

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

I don't know, maybe David knows.

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

 DN> Sound's that way. Although it could be Borland itself .
 
 PC> IBM's Open Class Library works great. :-)

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

The only problem with Open Class is it uses alot of memory.

I'm using OCL (OS/2 Class Library) by Cubus with Borland's compiler now.
It is not as complete as Open Class, but it supports all the major
compilers and comes with source code and is freeware.  And it uses much
less memory.

Phil - Fido:  1:124/8014.0 | Internet:  phil.crown{at}bluecafe.com

--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
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: 124/1208 1 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™.