| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Multithread and Watcom C/C++ 10.0 |
A creature called Peter Fitzsimmons screamed at Mike Stella: PF> You'd be better off using printf() instead of sucking in a PF> 16bit function here. Ah, I wasn't aware that Vio functions were 16 bit. PF> The smallest stacksize possible under OS/2 2.x is 0x2000 PF> (8k). In your case, even 8k is not enough. The attached PF> program worked with a 0x4000 stack. So that's what's wrong... PF> You should avoid polling under OS/2 --- change that 2nd PF> parameter to a 0 (IO_WAIT), or use better yet, just use PF> getch(). Yeah, I had since changed the code, after I read up on KbdCharIn. Thanks though. And why is it better to use getch()? Thanks for the rest of the code, I appreciate it. Now I can get on to more compilcated stuff... .\\ike Stella --- ShadowMail/2 1.00* Origin: Shadowland/2 - USR DS V.34 - 203.456.1103 (1:327/138) SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955 SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809 @PATH: 327/138 469 451 324/288 3615/50 105/103 42 712/515 711/808 809 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™.