commit e0fc1655ebffb353eb29ba8143ea0da317463144
parent c5b914b2ed26fff04309fbe124f0c5a3dc873189
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 13 Apr 2018 12:23:09 +0200
Fix comments
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c
@@ -748,9 +748,7 @@ collect_and_link_neighbours
res_T* res)
{
/* This function is called from an omp parallel block and executed
- * concurrently.
- * Resize / Push operations on neighbourhood_by_vertex are valid
- * because each neighbourhood is processes by an unique thread */
+ * concurrently. */
const struct triangle_in *triangles_in;
struct triangle_tmp *triangles_tmp;
const union double3* vertices;
@@ -760,7 +758,8 @@ collect_and_link_neighbours
struct htable_edge_id edge_ids;
/* Array to keep neighbourhood of edges
* Resize/Push operations on neighbourhood_by_edge are valid in the
- * openmp block because it is thread local data */
+ * openmp block because a given neighbourhood is only processed
+ * by a single thread */
struct darray_neighbourhood neighbourhood_by_edge;
edge_id_t edge_count;
edge_id_t nbedges_guess;