TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Edwin Groothuis
from: Ramiro Diaz
date: 1994-08-25 14:52:00
subject: Thread behaviour

On 08 16 94, EDWIN GROOTHUIS wrote to ALL:

EG>    stkptr=(ULONG)malloc(STACK_SIZE)+STACK_SIZE;
EG>    rc=DosCreateThread(&thread1ID,(PFNTHREAD)thread1,0,0,stkptr);
    I don't think that this will solve your problem, but it might.  I
think that the last parameter should be the stack size, not a pointer
to a buffer that you allocated yourself.     I hope it helped.

Ramiro D¡az Trepat
ramiro.diaz{at}newage.turbo.net
Buenos Aires, Argentina.

---
 þ KWQ/2 1.2e þ If it wasn't for C, we would be using BASI, PASAL and OBOL!

---


* Origin: New Age BBS, 24hs. 797-9713/796-3408/796-2827/795-6419 (4:901/100)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 712/353 623 713/888 800/1
@PATH: 901/100 900/136 10/100 102/752 2 209/720 280/1 396/1
@PATH: 3615/50 229/2 12/2442 711/409 54/54 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™.