threads.html 1.5 KB

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