diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/thread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/thread.h b/drivers/gpu/nvgpu/include/nvgpu/thread.h index b113f972..eac06ef1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/thread.h +++ b/drivers/gpu/nvgpu/include/nvgpu/thread.h | |||
@@ -80,4 +80,13 @@ bool nvgpu_thread_should_stop(struct nvgpu_thread *thread); | |||
80 | */ | 80 | */ |
81 | bool nvgpu_thread_is_running(struct nvgpu_thread *thread); | 81 | bool nvgpu_thread_is_running(struct nvgpu_thread *thread); |
82 | 82 | ||
83 | /** | ||
84 | * nvgpu_thread_join - join a thread to reclaim resources | ||
85 | * after it has exited | ||
86 | * | ||
87 | * @thread - thread to join | ||
88 | * | ||
89 | */ | ||
90 | void nvgpu_thread_join(struct nvgpu_thread *thread); | ||
91 | |||
83 | #endif /* NVGPU_THREAD_H */ | 92 | #endif /* NVGPU_THREAD_H */ |