Browse Source

data_requests[i] may change, it is still fine for _starpu_handle_node_data_requests to read it unprotected

Samuel Thibault 11 years ago
parent
commit
b217a5399a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/datawizard/data_request.c

+ 1 - 0
src/datawizard/data_request.c

@@ -48,6 +48,7 @@ void _starpu_init_data_request_lists(void)
 		/* Tell helgrind that we are fine with checking for list_empty
 		 * in _starpu_handle_node_data_requests, we will call it
 		 * periodically anyway */
+		STARPU_HG_DISABLE_CHECKING(data_requests[i]);
 		STARPU_HG_DISABLE_CHECKING(data_requests[i]->_head);
 
 		STARPU_PTHREAD_MUTEX_INIT(&data_requests_list_mutex[i], NULL);