Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/libvorbis-1.2.0/doc/vorbisfile/threads.html @ 16

Last change on this file since 16 was 16, checked in by landauf, 16 years ago

added libvorbis

File size: 1.5 KB
Line 
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
18Vorbisfile's libvorbisfile may be used safely in a threading environment
19so long as thread access to individual <a
20href="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
24href="OggVorbis_File.html">OggVorbis_File</a> instance, even if the
25functions involved appear to be read-only.<p>
26
27<li>Multiple threads may enter
28libvorbisfile at a given time, so long as each thread's function calls
29are using different <a href="OggVorbis_File.html">OggVorbis_File</a>
30instances. <p>
31
32<li>Any one <a
33href="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>
Note: See TracBrowser for help on using the repository browser.