Post by Ricardo Gonzalez Menend » Sat, 25 Apr 1998 04:00:00

        Anybody can tell me what is a Mt-safe function?
        Is there a list of MT-Safe function?

        Thanks in advance.
          o oooo o o

     o    o o    o o     O====OIIIIIIIIIIIIII>      AVILES-ASTURIAS-SPAIN
     o    o oooo o  o         I


1. Difference Between 'Safe' And 'MT-Safe' ML-Level

MT-Level: Libraries are classified into four categories which define their
ability to support multiple threads. Manual pages containing routines that
are of multiple or differing levels show this within their NOTES or USAGE
( See attributes(5) )

I do not understand the difference between Safe and MT-Safe.

Safe: ...Often overlooked is the fact that the result of this Safe interface
or safe code segment can have global consequences that affect all threads.

MT-Safe: Note that a library can be safe to use, but not MT-Safe. For
example, surrounding an entire library with a monitor makes the library
Safe, but it supports no concurrency so it is not considered MT-Safe. An
MT-Safe library must permit a reasonable amount of concurrency. (This
definition's purpose is to give precision to what is meant when a library is
described as Safe. The definition of a Safe library does not specify if the
library supports concurrency. The MT-Safe definition makes it clear that the
library is Safe, and supports some concurrency. This clarifies the Safe
definition, which can mean anything from being single threaded to being any
degree of multithreaded.)

     Key fingerprint = EB65 70AA 55C0 33AA 2E5A  5B59 42E9 9326 B16C F7F3
PGP Public Key Server:

Chiou, Zi-Wei
Computer Graphics and Geometry Modeling Laboratory,
Computer Science and Information Engineering Department,
National Chiao-Tong University, Taiwan

ICQ Number: 86384491

InterVideo, Inc.

TEL: +886-3-5750828 ext.125
FAX: +886-3-5750829
Address: 13F-1, No.6, Lane 99, Rd. Puding, Hsinchu City, Taiwan.

2. Good word processor

3. Will using C++ strings be MT-safe and re-entrant ?

4. Has ANYONE compiled PERL under Linux?

5. : When is a function mt-safe ?

6. Exchange server

7. 'malloc' and 'free' is MT-safe in linux ?

8. PPP, PPPoe & NAT question

9. MT-safe kernel module coding question

10. In what way is dup2() not MT-SAFE?

11. LDAP library MT-Safe?

12. Any MT-safe regex code available?

13. Is malloc really MT-safe?