httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: httpd-2.0/docs/manual/developer thread_safety.html
Date Thu, 15 Aug 2002 19:14:47 GMT
rasmus      2002/08/15 12:14:47

  Added:       docs/manual/developer thread_safety.html
  Many more to come - just committing to get the framework in there so
  people can start adding to it.
  Revision  Changes    Path
  1.1                  httpd-2.0/docs/manual/developer/thread_safety.html
  Index: thread_safety.html
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  <html xmlns="">
      <meta name="generator" content="HTML Tidy, see" />
      <title>Apache 2.0 Thread Safe Issues</title>
    <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
    <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
    vlink="#000080" alink="#FF0000">
      <!--#include virtual="header.html" -->
      <h1>Thread Safetyness</h1>
      <p>When using any of the threaded mpms in Apache 2.0 it is important
      that every function from Apache be thread safe.  When linking in 3rd
      party extensions it can be difficult to determine whether the resulting
      server will be thread safe.  Casual testing generally won't tell you this
      either as thread safety problems can lead to subtle race conditons that
      may only show up in certain conditions under heavy load.</p>
      <h1>Common 3rd Party Libraries</h1>
      <p>The following is a list of common libraries that are used by 3rd party
      Apache modules.  You can check to see if your module is using a potentially
      unsafe library by using tools such as <tt>ldd</tt> and <tt>nm</tt>.
 For PHP,
      for example, try this:
  <pre>% ldd => /usr/local/lib/ (0x401f6000) => /usr/lib/ (0x402da000) => /usr/lib/ (0x402f9000) => /usr/local/lib/ (0x40353000) => /usr/lib/ (0x403e2000) => /usr/lib/ (0x403f0000) => /usr/lib/ (0x40411000) => /usr/lib/ (0x40449000) => /lib/ (0x40487000) => /usr/lib/ (0x404a8000) => /usr/lib/ (0x404e7000) => /lib/ (0x40505000) => /lib/ (0x40532000) => /lib/ (0x40560000) => /lib/ (0x40624000) => /lib/ (0x40634000) => /lib/ (0x40637000) => /lib/ (0x4064b000)
  /lib/ => /lib/ (0x80000000)</pre>
  In addition to these libraries you will need to have a look at any libraries
  linked statically into the module.  You can use <tt>nm</tt> to look for individual
  symbols in the module.</p>
      <h2>Library List</h2>
      <p>Please drop a note to [need a better contact address here]
      you have additions or corrections to this list.</p>
      <tr><td><a href="">ASpell/PSpell</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">Berkeley DB</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">BZip2</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">cdb</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">C-Client</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">cpdflib</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">libcrypt</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td>Expat</td><td> </td><td>Yes</td><td>Need
a separate parser instance per thread</td></tr>
      <tr><td><a href="">FreeTDS</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">FreeType</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">GD 1.8.x</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">GD 2.0.x</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">gdbm</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">ImageMagick</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">Imlib2</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">libjpeg</a></td><td>v6b</td><td>?</td><td>
      <tr><td><a href="">libmysqlclient</a></td><td>
</td><td>?</td><td> </td></tr>
      <tr><td><a href="">Ming</a></td><td>0.2a</td><td>?</td><td>
      <tr><td><a href="">Net-SNMP</a></td><td>5.0.x</td><td>?</td><td>
      <tr><td><a href="">OpenLDAP</a></td><td>2.1.x</td><td>?</td><td>
      <tr><td><a href="">OpenSSL</a></td><td>0.96g</td><td>?</td><td>
      <tr><td><a href="">liboci8 (Oracle 8+)</a></td><td>8.x,9.x</td><td>?</td><td>
      <tr><td><a href="">pdflib</a></td><td>4.0.x</td><td>?</td><td>
      <tr><td><a href="">libpng</a></td><td>1.0.x</td><td>?</td><td>
      <tr><td><a href="">libpng</a></td><td>1.2.x</td><td>?</td><td>
      <tr><td><a href="">libpq
share connections across threads and watch out for crypt() calls</td></tr>
      <tr><td><a href="">Sablotron</a></td><td>0.95</td><td>?</td><td>
      <tr><td><a href="">zlib</a></td><td>1.1.4</td><td>?</td><td>
      <!--#include virtual="footer.html" -->

View raw message