diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/posix/thread.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/posix/thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/posix/thread.c b/drivers/gpu/nvgpu/os/posix/thread.c index d9476523..6fdce134 100644 --- a/drivers/gpu/nvgpu/os/posix/thread.c +++ b/drivers/gpu/nvgpu/os/posix/thread.c | |||
@@ -94,3 +94,8 @@ bool nvgpu_thread_is_running(struct nvgpu_thread *thread) | |||
94 | { | 94 | { |
95 | return thread->running; | 95 | return thread->running; |
96 | } | 96 | } |
97 | |||
98 | void nvgpu_thread_join(struct nvgpu_thread *thread) | ||
99 | { | ||
100 | (void) pthread_join(thread->thread, NULL); | ||
101 | } | ||