Commit 7e8af32b authored by Davis King's avatar Davis King

Clarified spec and docs

parent 384090c6
...@@ -219,10 +219,10 @@ namespace dlib ...@@ -219,10 +219,10 @@ namespace dlib
a thread_pool thread capable of executing tasks. a thread_pool thread capable of executing tasks.
This object is also implemented such that no memory allocations occur This object is also implemented such that no memory allocations occur
after the thread pool has been constructed (the future object also after the thread_pool has been constructed so long as the user doesn't
doesn't perform any memory allocations or contain any system call any of the add_task_by_value() routines. The future object also
resources such as mutex objects) so long as the user doesn't call doesn't perform any memory allocations or contain any system resources
any of the add_task_by_value() routines. such as mutex objects.
EXCEPTIONS EXCEPTIONS
Note that if an exception is thrown inside a task thread and Note that if an exception is thrown inside a task thread and
......
...@@ -1167,9 +1167,9 @@ ...@@ -1167,9 +1167,9 @@
The implementation of this extension can be found The implementation of this extension can be found
<a href="dlib/threads/thread_pool_extension.h.html">here</a>. It is <a href="dlib/threads/thread_pool_extension.h.html">here</a>. It is
implemented such that no memory allocations occur after the thread pool implemented such that no memory allocations occur after the thread pool
has been constructed (the future object also doesn't perform any memory allocations or contain any system has been constructed so long as the user doesn't call
resources such as mutex objects) so long as the user doesn't call any of the add_task_by_value() routines. The future object also doesn't
any of the add_task_by_value() routines. perform any memory allocations or contain any system resources such as mutex objects.
</description> </description>
<examples> <examples>
......
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