🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2630

Multi-threaded appl & printf

#2630
From: Christophe Wolfhugel
Date: Thu, 16 May 1991 15:32
15 lines
1149 bytes
Is following correct (OS/2 1.2EE / IBM C/2 1.1):

The main thread of an application creates a second thread (with
DosCreateThread) that uses printf to display some text. The .obj
file is linked to llibcmt & doscalls.

Looking at IBM's examples this is supposed to be correct, but the
stack overflow (R6000) I get on execution does not agree with this.
So, who's right? Any suggestion?

-- 
Christophe Wolfhugel (on irc: Zolf)  |  Email: wolf@grasp1.univ-lyon1.fr
INSA Lyon - Departement Informatique |  "Ecole publique, ecole fauchee. Encore"
69621 Villeurbanne Cedex             |  "une tradition francaise dont on se"
France                               |  "passerait bien."
Technical Details
Message-ID: <1991May16.153241.11420@grasp1.univ-lyon1.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!samsung!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!grasp1!wolf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!samsung!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!grasp1!wolf
From: wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel)
Newsgroups: comp.os.os2.programmer
Subject: Multi-threaded appl & printf
Message-ID: <1991May16.153241.11420@grasp1.univ-lyon1.fr>
Date: 16 May 91 15:32:41 GMT
Organization: INSA Departement Informatique, Lyon, France
Lines: 15