mirror of https://github.com/CGAL/cgal
Remove mention to boost::thread_specific_ptr
This commit is contained in:
parent
3894480daf
commit
3bd55ca2b2
|
|
@ -9,12 +9,12 @@
|
||||||
|
|
||||||
The header file `<CGAL/tss.h>` provides a macro `CGAL_STATIC_THREAD_LOCAL_VARIABLE(TYPE,VAR,ARG1)`
|
The header file `<CGAL/tss.h>` provides a macro `CGAL_STATIC_THREAD_LOCAL_VARIABLE(TYPE,VAR,ARG1)`
|
||||||
that creates a thread local variable `VAR` of type `TYPE`, and passes `ARG1` to the
|
that creates a thread local variable `VAR` of type `TYPE`, and passes `ARG1` to the
|
||||||
constructor. The variable is either `threadlocal`, or a `boost::thread_specific_ptr`,
|
constructor. The variable is either `thread_local`,
|
||||||
or just a local variable if `CGAL_HAS_THREADS` is not defined.
|
or just a local variable if `CGAL_HAS_THREADS` is not defined.
|
||||||
|
|
||||||
|
|
||||||
\section Developer_manualMutex Mutex
|
\section Developer_manualMutex Mutex
|
||||||
|
|
||||||
The header file `<CGAL/mutex.h>` provides a macro `CGAL_MUTEX` and a macro `CGAL_SCOPED_LOCK(M)` that is either a `std::unique_lock<std::mutex>` or a `boost::mutex::scoped_lock`.
|
The header file `<CGAL/mutex.h>` provides a macro `CGAL_MUTEX` equivalent to `std::mutex` and a macro `CGAL_SCOPED_LOCK(M)` that is a `std::unique_lock<std::mutex>`.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue