/usr/share/doc/libtse3-dev/Mutex.html is in libtse3-dev 0.3.1-4.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <html>
<head>
<title>Support for multiple threads in TSE3</title>
</head>
<body bgcolor=#ffffff text=#000000>
<table width=100% cellspacing=0 cellpadding=1 border=0 bgcolor=#000000><tr><td>
<table width=100% cellspacing=0 cellpadding=1 border=0><tr><td valign=center bgcolor=#c8d559>
<table width=100% cellspacing=0 cellpadding=0 border=0><tr>
<td align=left width=30%><b> TSE3 documentation<b></td>
<td align=center width=30%>Version 0.3.1</td>
<td align=right width=30%>
<a href="index.html"><b>Index</b></a>
<a href="api/index.html">API</a>
<a href="Version.html">Version</a>
<a href="Structure.html">Structure</a>
</td>
</tr></table>
</td></tr></table>
</td></tr></table>
<h1>Support for multiple threads in TSE3</h1>
<p>
The TSE3 library provides support for multi-threaded applications and guards its internal data structures against concurrent access by more than one thread.
<p>
It is possible to disable this support by configuring the code with the <code>--without-mutex</code> configure flag.
<p>
The threading support is implemented in the <code>tse3/Mutex.h</code> header file.
<p>
Even if the multi-threading support is enabled (as per default) the library will not be thread-safe unless you supply a platform-specific implementation of a <i>mutex</i> (which is a data structure used to prevent concurrent access to critical sections of code). You do this by providing a subclass of the <code>TSE3::Impl::MutexImpl</code> class and providing it to the TSE3 library (using the <code>TSE3::Impl::Mutex</code> class).
<p>
The KDOC documentation contains clear details on how to do this (look at the MutexImpl and Mutex class. If you have built the TSE3 documentation (see <a href="KDOC.html">here</a> for details) then the following links will take you directly to the documentation:
<ul>
<li><a href="api/TSE3__Impl__MutexImpl.html">MutexImpl</a>
<li><a href="api/TSE3__Impl__Mutex.html">Mutex</a>
</ul>
<body bgcolor=#ffffff text=#000000>
<table width=100% cellspacing=0 cellpadding=1 border=0 bgcolor=#000000><tr><td>
<table width=100% cellspacing=0 cellpadding=1 border=0><tr><td valign=center bgcolor=#c8d559>
<table width=100% cellspacing=0 cellpadding=0 border=0><tr>
<td align=left width=30%> © Pete Goodliffe, 2001-2003</td>
<td align=center width=30%><a href="Copyright.html">Copyright</a></td>
<td align=right width=30%><a href="Psalm150.html">Psalm 150</a> </td>
</tr></table>
</td></tr></table>
</td></tr></table>
</body>
</html>
|