Home | History | Annotate | Download | only in vorbisfile
      1 <html>
      2 
      3 <head>
      4 <title>Vorbisfile - Thread Safety</title>
      5 <link rel=stylesheet href="style.css" type="text/css">
      6 </head>
      7 
      8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
      9 <table border=0 width=100%>
     10 <tr>
     11 <td><p class=tiny>Vorbisfile documentation</p></td>
     12 <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>
     13 </tr>
     14 </table>
     15 
     16 <h1>Thread Safety</h1>
     17 
     18 Vorbisfile's libvorbisfile may be used safely in a threading environment
     19 so long as thread access to individual <a
     20 href="OggVorbis_File.html">OggVorbis_File</a> instances is serialized.  
     21 <ul>
     22 
     23 <li>Only one thread at a time may enter a function that takes a given <a
     24 href="OggVorbis_File.html">OggVorbis_File</a> instance, even if the
     25 functions involved appear to be read-only.<p>
     26 
     27 <li>Multiple threads may enter
     28 libvorbisfile at a given time, so long as each thread's function calls
     29 are using different <a href="OggVorbis_File.html">OggVorbis_File</a>
     30 instances. <p>
     31 
     32 <li>Any one <a
     33 href="OggVorbis_File.html">OggVorbis_File</a> instance may be used safely from multiple threads so long as only one thread at a time is making calls using that instance.<p>
     34 </ul>
     35 
     36 <br><br>
     37 <hr noshade>
     38 <table border=0 width=100%>
     39 <tr valign=top>
     40 <td><p class=tiny>copyright &copy; 2007 Xiph.org</p></td>
     41 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
     42 </tr><tr>
     43 <td><p class=tiny>Vorbisfile documentation</p></td>
     44 <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>
     45 </tr>
     46 </table>
     47 
     48 </body>
     49 
     50 </html>
     51