소스 검색

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

Samuel Thibault 11 년 전
부모
커밋
b217a5399a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);