00001 <html> 00002 00003 <head> 00004 <title>Vorbisfile - Thread Safety</title> 00005 <link rel=stylesheet href="style.css" type="text/css"> 00006 </head> 00007 00008 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 00009 <table border=0 width=100%> 00010 <tr> 00011 <td><p class=tiny>Vorbisfile documentation</p></td> 00012 <td align=right><p class=tiny>vorbisfile version 1.68 - 20030307</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>Thread Safety</h1> 00017 00018 Vorbisfile's libvorbisfile may be used safely in a threading environment 00019 so long as thread access to individual <a 00020 href="OggVorbis_File.html">OggVorbis_File</a> instances is serialized. 00021 <ul> 00022 00023 <li>Only one thread at a time may enter a function that takes a given <a 00024 href="OggVorbis_File.html">OggVorbis_File</a> instance, even if the 00025 functions involved appear to be read-only.<p> 00026 00027 <li>Multiple threads may enter 00028 libvorbisfile at a given time, so long as each thread's function calls 00029 are using different <a href="OggVorbis_File.html">OggVorbis_File</a> 00030 instances. <p> 00031 00032 <li>Any one <a 00033 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> 00034 </ul> 00035 00036 <br><br> 00037 <hr noshade> 00038 <table border=0 width=100%> 00039 <tr valign=top> 00040 <td><p class=tiny>copyright © 2003 Xiph.org</p></td> 00041 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td> 00042 </tr><tr> 00043 <td><p class=tiny>Vorbisfile documentation</p></td> 00044 <td align=right><p class=tiny>vorbisfile version 1.68 - 20030307</p></td> 00045 </tr> 00046 </table> 00047 00048 </body> 00049 00050 </html>