Andreas Fabri
5865160c27
We need another macro when the variable is default constructed.
...
In order to be future compatible I added the suffix "_0" for "with 0 arguments"
The version without suffix will later get the suffix "_1"
I don't do that now, as there are many open branches to modify
We can do that once they are in master.
2016-09-29 09:24:28 +02:00
Sébastien Loriot
c981ef2303
add missing license headers
2016-01-04 16:48:26 +01:00
Andreas Fabri
4fec754ef8
put static into the macro and rename it
2015-12-02 20:40:15 +01:00
Andreas Fabri
bb9dddf336
Add a chapter in the developer manual. Fix a bug in tss.h in case CGAL_HAS_THREADS is not defined
2015-11-23 16:50:09 +01:00
Andreas Fabri
9c08d41a54
Change the macro CGAL_THREAD_LOCAL_VARIABLE(TYPE,VAR,VAL)
...
VAL is the parameter to the variable VAR
2015-11-11 11:16:16 +01:00
Andreas Fabri
1331fc6c09
commnt message
2015-10-02 10:26:26 +02:00
Andreas Fabri
47a41ccab0
cleanup
2015-10-01 12:38:55 +02:00
Andreas Fabri
3d4a1be429
WIP with Clement
2015-10-01 09:47:47 +02:00
Andreas Fabri
0d70d7b1ce
do not write 'static' in the macro so that we can use the macro also for a definition
2015-09-14 10:17:22 +02:00
Andreas Fabri
4ba71bce35
fix for the single threaded case
2015-09-14 09:50:03 +02:00
Andreas Fabri
ea612e9645
Improved macros to avoid #if #else where we want to use TLS
...
The Residue.cpp file still needs simplification
2015-09-11 18:01:51 +02:00
Andreas Fabri
a14cf913e9
WIP: In Lazy.h we now have a single macro for boost and c++11 thread
2015-09-11 14:54:11 +02:00
Andreas Fabri
aa649eccc9
bug fix
2015-09-11 08:58:32 +02:00
Andreas Fabri
220651bc88
Use CGAL_THREAD_LOCAL as thread_local only comes with VC201
2015-09-04 18:09:50 +02:00