clarified spec

This commit is contained in:
Davis King 2013-02-04 17:43:06 -05:00
parent af0cf84f79
commit b9e907a9dc
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,11 @@ namespace dlib
So this object lets you take advantage of a multi-core system. You should
set the num_threads parameter equal to the number of available cores. Note
that the separation_oracle() function which you provide must be thread safe
if you are to use this version of the structural_svm_problem.
if you are to use this version of the structural_svm_problem. In
particular, it must be safe to call separation_oracle() concurrently from
different threads. However, it is guaranteed that different threads will
never make concurrent calls to separation_oracle() using the same idx value
(i.e. the first argument).
!*/
typedef matrix_type_ matrix_type;