Path: 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 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."