Commit aeaf6e87 authored by Davis King's avatar Davis King

updated docs

parent 446dcb43
...@@ -621,62 +621,24 @@ ...@@ -621,62 +621,24 @@
<item nolink="true"> <item nolink="true">
<name>extensions</name> <name>extensions</name>
<sub> <sub>
<item> <item>thread_specific_data</item>
<name>thread_specific_data</name> <item>create_new_thread_extension</item>
<link>dlib/threads/thread_specific_data_extension_abstract.h.html</link> <item>rsignaler</item>
</item> <item>rmutex</item>
<item> <item>read_write_mutex</item>
<name>create_new_thread extension</name> <item>auto_mutex</item>
<link>dlib/threads/create_new_thread_extension_abstract.h.html#create_new_thread</link> <item>auto_mutex_readonly</item>
</item> <item>auto_unlock</item>
<item> <item>auto_unlock_readonly</item>
<name>rsignaler</name> <item>threaded_object</item>
<link>dlib/threads/rsignaler_extension_abstract.h.html#rsignaler</link> <item>thread_pool</item>
</item> <item>parallel_for</item>
<item>
<name>rmutex</name>
<link>dlib/threads/rmutex_extension_abstract.h.html#rmutex</link>
</item>
<item>
<name>read_write_mutex</name>
<link>dlib/threads/read_write_mutex_extension_abstract.h.html#read_write_mutex</link>
</item>
<item>
<name>auto_mutex</name>
<link>dlib/threads/auto_mutex_extension_abstract.h.html#auto_mutex</link>
</item>
<item>
<name>auto_mutex_readonly</name>
<link>dlib/threads/auto_mutex_extension_abstract.h.html#auto_mutex_readonly</link>
</item>
<item>
<name>auto_unlock</name>
<link>dlib/threads/auto_unlock_extension_abstract.h.html#auto_unlock</link>
</item>
<item>
<name>auto_unlock_readonly</name>
<link>dlib/threads/auto_unlock_extension_abstract.h.html#auto_unlock_readonly</link>
</item>
<item>
<name>threaded_object</name>
<link>dlib/threads/threaded_object_extension_abstract.h.html#threaded_object</link>
</item>
<item>
<name>thread_pool</name>
<link>dlib/threads/thread_pool_extension_abstract.h.html#thread_pool</link>
</item>
<item> <item>
<name>future</name> <name>future</name>
<link>dlib/threads/thread_pool_extension_abstract.h.html#future</link> <link>dlib/threads/thread_pool_extension_abstract.h.html#future</link>
</item> </item>
<item> <item>thread_function</item>
<name>thread_function</name> <item>multithreaded_object</item>
<link>dlib/threads/thread_function_extension_abstract.h.html#thread_function</link>
</item>
<item>
<name>multithreaded_object</name>
<link>dlib/threads/multithreaded_object_extension_abstract.h.html#multithreaded_object</link>
</item>
</sub> </sub>
</item> </item>
<item> <item>
...@@ -819,11 +781,7 @@ ...@@ -819,11 +781,7 @@
<name>dir_nav_extensions</name> <name>dir_nav_extensions</name>
<spec_file>dlib/dir_nav/dir_nav_extensions_abstract.h</spec_file> <spec_file>dlib/dir_nav/dir_nav_extensions_abstract.h</spec_file>
<description> <description>
<p>
This is just some miscellaneous extensions to the dir_nav component. This is just some miscellaneous extensions to the dir_nav component.
</p>
The implementation of this extension can be found
<a href="dlib/dir_nav/dir_nav_extensions.h.html">here</a>.
</description> </description>
</extension> </extension>
</extensions> </extensions>
...@@ -951,11 +909,7 @@ ...@@ -951,11 +909,7 @@
<name>sockets_extensions</name> <name>sockets_extensions</name>
<spec_file>dlib/sockets/sockets_extensions_abstract.h</spec_file> <spec_file>dlib/sockets/sockets_extensions_abstract.h</spec_file>
<description> <description>
<p>
This is just some miscellaneous extensions to the socket api. This is just some miscellaneous extensions to the socket api.
</p>
The implementation of this extension can be found
<a href="dlib/sockets/sockets_extensions.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1019,13 +973,9 @@ ...@@ -1019,13 +973,9 @@
<name>rsignaler</name> <name>rsignaler</name>
<spec_file>dlib/threads/rsignaler_extension_abstract.h</spec_file> <spec_file>dlib/threads/rsignaler_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a signaler object that can be used with the rmutex object. This extension adds a signaler object that can be used with the rmutex object.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/rsignaler_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1034,11 +984,7 @@ ...@@ -1034,11 +984,7 @@
<name>thread_specific_data</name> <name>thread_specific_data</name>
<spec_file>dlib/threads/thread_specific_data_extension_abstract.h</spec_file> <spec_file>dlib/threads/thread_specific_data_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds the ability to easily create thread specific data. This extension adds the ability to easily create thread specific data.
</p>
The implementation of this extension can be found
<a href="dlib/threads/thread_specific_data_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1047,14 +993,10 @@ ...@@ -1047,14 +993,10 @@
<name>rmutex</name> <name>rmutex</name>
<spec_file>dlib/threads/rmutex_extension_abstract.h</spec_file> <spec_file>dlib/threads/rmutex_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mutex object that can handle recursive calls This extension adds a mutex object that can handle recursive calls
to lock(). to lock().
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/rmutex_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1062,29 +1004,21 @@ ...@@ -1062,29 +1004,21 @@
<name>read_write_mutex</name> <name>read_write_mutex</name>
<spec_file>dlib/threads/read_write_mutex_extension_abstract.h</spec_file> <spec_file>dlib/threads/read_write_mutex_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mutex object that can perform both normal "write locks" as well as "readonly locks". This extension adds a mutex object that can perform both normal "write locks" as well as "readonly locks".
See the specification for details. See the specification for details.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/read_write_mutex_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
<extension> <extension>
<name>create_new_thread extension</name> <name>create_new_thread_extension</name>
<spec_file>dlib/threads/create_new_thread_extension_abstract.h</spec_file> <spec_file>dlib/threads/create_new_thread_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds some templated overloads to the This extension adds some templated overloads to the
<a href="dlib/threads/threads_kernel_abstract.h.html#create_new_thread">create_new_thread()</a> function. They allow you to create new threads using member functions from a class. <a href="dlib/threads/threads_kernel_abstract.h.html#create_new_thread">create_new_thread()</a> function. They allow you to create new threads using member functions from a class.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/create_new_thread_extension.h.html">here</a>.
</description> </description>
...@@ -1094,13 +1028,9 @@ ...@@ -1094,13 +1028,9 @@
<name>auto_mutex</name> <name>auto_mutex</name>
<spec_file>dlib/threads/auto_mutex_extension_abstract.h</spec_file> <spec_file>dlib/threads/auto_mutex_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mechanism to automatically lock and unlock a mutex. This extension adds a mechanism to automatically lock and unlock a mutex.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/auto_mutex_extension.h.html">here</a>.
</description> </description>
<examples> <examples>
...@@ -1113,14 +1043,10 @@ ...@@ -1113,14 +1043,10 @@
<name>auto_mutex_readonly</name> <name>auto_mutex_readonly</name>
<spec_file link="true">dlib/threads/auto_mutex_extension_abstract.h</spec_file> <spec_file link="true">dlib/threads/auto_mutex_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mechanism to automatically perform a readonly lock and unlock This extension adds a mechanism to automatically perform a readonly lock and unlock
of a <a href="#read_write_mutex">read_write_mutex</a>. of a <a href="#read_write_mutex">read_write_mutex</a>.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/auto_mutex_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1128,13 +1054,9 @@ ...@@ -1128,13 +1054,9 @@
<name>auto_unlock_readonly</name> <name>auto_unlock_readonly</name>
<spec_file link="true">dlib/threads/auto_unlock_extension_abstract.h</spec_file> <spec_file link="true">dlib/threads/auto_unlock_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mechanism to automatically remove a readonly unlock from a <a href="#read_write_mutex">read_write_mutex</a>. This extension adds a mechanism to automatically remove a readonly unlock from a <a href="#read_write_mutex">read_write_mutex</a>.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/auto_unlock_extension.h.html">here</a>.
</description> </description>
</extension> </extension>
...@@ -1142,12 +1064,8 @@ ...@@ -1142,12 +1064,8 @@
<name>thread_function</name> <name>thread_function</name>
<spec_file>dlib/threads/thread_function_extension_abstract.h</spec_file> <spec_file>dlib/threads/thread_function_extension_abstract.h</spec_file>
<description> <description>
<p>
This object represents a thread on a global C++ function. That is, it allows you This object represents a thread on a global C++ function. That is, it allows you
to run a global function in its own thread. to run a global function in its own thread.
</p>
The implementation of this extension can be found
<a href="dlib/threads/thread_function_extension.h.html">here</a>.
</description> </description>
<examples> <examples>
...@@ -1161,12 +1079,8 @@ ...@@ -1161,12 +1079,8 @@
<name>threaded_object</name> <name>threaded_object</name>
<spec_file>dlib/threads/threaded_object_extension_abstract.h</spec_file> <spec_file>dlib/threads/threaded_object_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension represents a simple threaded object. It provides a convenient This extension represents a simple threaded object. It provides a convenient
mechanism to create an object that contains a thread. mechanism to create an object that contains a thread.
</p>
The implementation of this extension can be found
<a href="dlib/threads/threaded_object_extension.h.html">here</a>.
</description> </description>
<examples> <examples>
...@@ -1199,17 +1113,22 @@ ...@@ -1199,17 +1113,22 @@
</examples> </examples>
</extension> </extension>
<extension>
<name>parallel_for</name>
<spec_file>dlib/threads/parallel_for_extension_abstract.h</spec_file>
<description>
This is a set of functions for executing the contents of a for loop in parallel.
It is useful for taking advantage of multi-processor systems.
</description>
</extension>
<extension> <extension>
<name>multithreaded_object</name> <name>multithreaded_object</name>
<spec_file>dlib/threads/multithreaded_object_extension_abstract.h</spec_file> <spec_file>dlib/threads/multithreaded_object_extension_abstract.h</spec_file>
<description> <description>
<p>
This object represents a multithreaded object. It is similar to This object represents a multithreaded object. It is similar to
the <a href="#threaded_object">threaded_object</a> except it allows you to have many threads in a the <a href="#threaded_object">threaded_object</a> except it allows you to have many threads in a
single object rather than just one. single object rather than just one.
</p>
The implementation of this extension can be found
<a href="dlib/threads/multithreaded_object_extension.h.html">here</a>.
</description> </description>
<examples> <examples>
...@@ -1222,13 +1141,9 @@ ...@@ -1222,13 +1141,9 @@
<name>auto_unlock</name> <name>auto_unlock</name>
<spec_file>dlib/threads/auto_unlock_extension_abstract.h</spec_file> <spec_file>dlib/threads/auto_unlock_extension_abstract.h</spec_file>
<description> <description>
<p>
This extension adds a mechanism to automatically unlock a mutex. This extension adds a mechanism to automatically unlock a mutex.
Also note that this extension is included by dlib/threads.h so you don't have to include Also note that this extension is included by dlib/threads.h so you don't have to include
anything extra to get it. anything extra to get it.
</p>
The implementation of this extension can be found
<a href="dlib/threads/auto_unlock_extension.h.html">here</a>.
</description> </description>
......
...@@ -693,6 +693,8 @@ ...@@ -693,6 +693,8 @@
<term file="api.html" name="thread_specific_data"/> <term file="api.html" name="thread_specific_data"/>
<term file="api.html" name="threaded_object"/> <term file="api.html" name="threaded_object"/>
<term file="api.html" name="thread_pool"/> <term file="api.html" name="thread_pool"/>
<term file="api.html" name="parallel_for"/>
<term link="api.html#parallel_for" name="parallel_for_blocked"/>
<term link="api.html#thread_pool" name="futures"/> <term link="api.html#thread_pool" name="futures"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment