Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!newstop!texsun!csccat!jack From: jack@csccat.UUCP (Jack Hudler) Newsgroups: comp.os.os2 Subject: Re: Problem with multiple threads ... Message-ID: <3460@csccat.UUCP> Date: 8 Jan 90 21:44:52 GMT References: <1028@tuminfo1.lan.informatik.tu-muenchen.dbp.de> <1702.25a6586a@cc.helsinki.fi> Reply-To: jack@csccat.UUCP (Jack Hudler) Distribution: comp.os.os2 Organization: Computer Support Corporation. Dallas,Texas Lines: 18 In article <1702.25a6586a@cc.helsinki.fi> kulokari@cc.helsinki.fi writes: >2) When the program did compile (after I had checked from manuals >what those undefined symbols probably did mean), it did not link. >_beginthread was not found in the standard C library. Closer >inspection revealed, that you have been using the multithreaded >version of the MSC 5.1 library. This is usually (and in this >case) quite unnecessary, and to be avoided of at any cost. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This statement is quite inaccurate... you must use the multithread library whenever using stdio in any threads, howelse is 'errno' going to know which thread to return the proper error number too, and other like functions. This was clearly stated in the OS/2 Design Workshops I have attended in Redmond. -- Jack Computer Support Corportion Dallas,Texas Hudler UUCP: {texsun,texbell,attctc}!csccat!jack