Simon Giraudot
4b7f5bccc4
Only include needed TBB headers
2018-05-29 11:42:03 +02:00
Andreas Fabri
5bc6d78f7f
fixes in STL_Extension
2018-04-20 08:53:22 +01:00
Laurent Rineau
33d3abaf26
Fix compilation errors
2018-04-17 17:15:00 +02:00
Laurent Rineau
095c27e2be
cosmetic changes
2018-04-17 17:14:19 +02:00
Andreas Fabri
7cbffac35b
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:35:04 +01:00
Andreas Fabri
303b0ab46e
Fix detection of CGAL_CXX11 for VC++ and fixes of usage of std::allocator_traits
2018-04-16 11:00:03 +01:00
Andreas Fabri
0cccc34cad
Use std::allocator_traits
2018-04-16 08:17:09 +01:00
Andreas Fabri
f4ec38e27c
STL_extensions
2018-01-18 14:15:21 +00:00
Sébastien Loriot
8cdfad0d08
add missing URL and Id tags
2017-11-15 22:58:57 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Andreas Fabri
2b43a79e0a
Add hashing to the concurent compact container
2015-10-05 10:15:24 +02:00
Sébastien Loriot
50595505c4
Merge branch 'Fix_warnings-GF'
...
Fixes warnings in various packages
Successfully tested in CGAL-4.7-Ic-87
Approved by the release Manager
2015-07-17 14:21:21 +02:00
Laurent Rineau
25df59411d
Merge branch 'releases/CGAL-4.6-branch'
...
Fix a miscompilation by clang-3.6.x
https://github.com/CGAL/cgal/pull/161
2015-07-15 17:02:02 +02:00
Sébastien Loriot
d26e112cf4
fix warnings
2015-07-15 16:57:38 +02:00
Laurent Rineau
17857e15d3
Same patch for <CGAL/Concurrent_compact_container.h>
...
Patch similar to the previous commit.
2015-07-15 11:33:51 +02:00
Guillaume Damiand
a0b569b83d
Remove asserts that avoir to increment/decrement iterators on removed elements.
2015-06-17 09:51:20 +02:00
Guillaume Damiand
a423368960
Add also is_used in Concurrent_compact_container to be consistent
2015-06-16 19:48:01 +02:00
Andreas Fabri
b1f4afbd33
Macros MUST be prefixed with CGAL_
...
-pedantic does not like extra semicolons
todo: cleanup: The macro is there twice.
2014-07-09 15:41:08 +02:00
Clement Jamin
f742be081b
Fix spaces
2014-07-08 15:40:29 +02:00
Clement Jamin
f7396790ff
Fix merge function
...
Fixes memory leaks, and maybe some other potential problems
2014-07-07 13:41:33 +02:00
Clement Jamin
c9c8335811
More code clean-up
2014-05-27 13:46:34 +02:00
Clement Jamin
de485dfc10
Use s_iterator_to and remove the constructor I had added temporarily
2014-05-23 17:17:16 +02:00
Clement Jamin
5d1eacf16f
rename get_erase_counter => erase_counter
...
And add it to the concept ObjectWithEraseCounter
2013-12-12 07:23:07 +01:00
Clement Jamin
5ff923bcfb
Bug fix: use the right namespace (CCC_internal)
2013-10-02 10:48:59 +02:00
Clement Jamin
2706cbfeff
Compact_container: erase counter strategy is now automatically deduced from T.
...
If the T::increment_erase_counter() function exists, then the erase counter
value will be updated by the Compact_container.
2013-09-30 18:25:41 +02:00
Clement Jamin
bc360c8b13
Changes for GCC compilation + removed some trailing spaces
2013-06-07 17:40:53 +02:00
Clement Jamin
b12a5e3c59
Implemented the "merge" function in the Concurrent_compact_container
2013-03-12 17:00:54 +01:00
Clement Jamin
8e800fdece
Replaced tabs with spaces
2013-03-12 15:39:25 +01:00
Clement Jamin
cad7496099
Removed "merge" and "reserve" since they are not implemented
2013-03-11 18:43:10 +01:00
Clement Jamin
2263fdf765
Clean-up
2013-02-28 15:05:35 +01:00
Clement Jamin
bce43fbb8e
Improved the way parallelism is handle in Mesh_3/Triangulation_3
...
Added a better support for parallelism in Triangulation_3.
Simplified how to enable/disable concurrency in Mesh_3.
Moved the Compact_container stategies to a new file.
2013-02-15 18:07:43 +01:00
Sébastien Loriot
14c8641377
Convert all CRLF files to LF
2012-12-04 16:44:49 +01:00
Clément Jamin
68fbaa4373
Bugfix + minor changes
2012-07-11 14:21:17 +00:00
Clément Jamin
41f9cbe411
Sequential Mesh_3 can now be compiled by GCC.
2012-07-09 15:44:58 +00:00
Clément Jamin
b268598665
Replace LINKED_WITH_TBB by CGAL_LINKED_WITH_TBB.
2012-06-13 09:33:08 +00:00
Clément Jamin
69272e4d9a
Test with a worksharing strategy (based on TBB task scheduler) + test with parallel_do.
2012-04-10 13:23:51 +00:00
Clément Jamin
512f0b12bd
Missing "mutable" on the mutex
2012-03-22 17:50:17 +00:00
Clément Jamin
4ccf8e0447
First working parallel version. It's not faster than the sequential one, but not slower neither (depends if you're optimistic or not). The good news is that we found all (?) the sections to protect or to make thread-local.
2012-03-22 17:07:03 +00:00
Clément Jamin
09de63eb4a
Brand new Concurrent_compact_container, not based on tbb::concurrent_vector as it was causing compiler nightmare (C1060).
...
Anyway, it's faster and much more scalable... so no regrets.
2012-03-14 17:06:13 +00:00
Clément Jamin
401568c63c
Added the option to use Boost filter_iterator, and a few member functions.
2012-03-09 17:34:19 +00:00
Clément Jamin
1192e188cc
Creates a Concurrent_compact_container, based on tbb::concurrent_vector. Some member functions (size, etc.) are missing. To be continued...
2012-03-09 11:44:41 +00:00