home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 7075 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!usc!sdd.hp.com!spool.mu.edu!uwm.edu!caen!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!ernst
  3. From: ernst@opal.cs.tu-berlin.de (Ernst Kloecker)
  4. Subject: OS/2 libraries thread-safe ?
  5. Message-ID: <1992Dec16.221352.26031@cs.tu-berlin.de>
  6. Sender: news@cs.tu-berlin.de
  7. Organization: Techn. University of Berlin, Germany
  8. Date: Wed, 16 Dec 1992 22:13:52 GMT
  9. Lines: 20
  10.  
  11. Hi,
  12.  
  13. what precautions do I have to take when calling C-library functions from
  14. different threads in one process ?
  15.  
  16. What happens to static variables like 'errno' ?
  17.  
  18. Can I safely call '...printf()' from different threads ?
  19.  
  20. Or are the only safe functions the OS-functions in 'bsedos.h' ?
  21.  
  22. Or are even those functions not completely thread-safe ?
  23.  
  24.  
  25. Thanks for any info, Ernst.
  26. --
  27.  
  28. -----------------------------------------------------------------------------
  29. Ernst Kloecker      phone: ++49-30-6181635      e-mail: ernst@cs.tu-berlin.de
  30. -----------------------------------------------------------------------------
  31.