Sfoglia il codice sorgente

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

Samuel Thibault 11 anni fa
parent
commit
b217a5399a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);