Samuel Thibault 9 년 전
부모
커밋
8dc01b0cd9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/common/thread.c

+ 1 - 0
src/common/thread.c

@@ -753,6 +753,7 @@ int starpu_pthread_spin_lock(starpu_pthread_spinlock_t *lock)
 	}
 
 	/* We have spent enough time with spinning, let's block */
+	/* This avoids typical 10ms pauses when the application thread tries to submit tasks. */
 	while (1)
 	{
 		/* Tell releaser to wake us */