home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- 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
- From: ernst@opal.cs.tu-berlin.de (Ernst Kloecker)
- Subject: OS/2 libraries thread-safe ?
- Message-ID: <1992Dec16.221352.26031@cs.tu-berlin.de>
- Sender: news@cs.tu-berlin.de
- Organization: Techn. University of Berlin, Germany
- Date: Wed, 16 Dec 1992 22:13:52 GMT
- Lines: 20
-
- Hi,
-
- what precautions do I have to take when calling C-library functions from
- different threads in one process ?
-
- What happens to static variables like 'errno' ?
-
- Can I safely call '...printf()' from different threads ?
-
- Or are the only safe functions the OS-functions in 'bsedos.h' ?
-
- Or are even those functions not completely thread-safe ?
-
-
- Thanks for any info, Ernst.
- --
-
- -----------------------------------------------------------------------------
- Ernst Kloecker phone: ++49-30-6181635 e-mail: ernst@cs.tu-berlin.de
- -----------------------------------------------------------------------------
-