From 2109a13ce21c8bdf19b45b8ddf5bc3970c158dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Mon, 17 Oct 2016 19:14:31 -0300 Subject: [PATCH] (libretro-common) Fix sthread_isself() documentation --- libretro-common/include/rthreads/rthreads.h | 7 +------ libretro-common/rthreads/rthreads.c | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/libretro-common/include/rthreads/rthreads.h b/libretro-common/include/rthreads/rthreads.h index eb805b6f80..a960d7f8ec 100644 --- a/libretro-common/include/rthreads/rthreads.h +++ b/libretro-common/include/rthreads/rthreads.h @@ -76,13 +76,8 @@ void sthread_join(sthread_t *thread); /** * sthread_isself: - * @thread : pointer to thread object + * @thread : pointer to thread object * - * Join with a terminated thread. Waits for the thread specified by - * @thread to terminate. If that thread has already terminated, then - * it will return immediately. The thread specified by @thread must - * be joinable. - * * Returns: true (1) if calling thread is the specified thread */ bool sthread_isself(sthread_t *thread); diff --git a/libretro-common/rthreads/rthreads.c b/libretro-common/rthreads/rthreads.c index d24cd91e12..1c17d650b7 100644 --- a/libretro-common/rthreads/rthreads.c +++ b/libretro-common/rthreads/rthreads.c @@ -207,11 +207,6 @@ void sthread_join(sthread_t *thread) * sthread_isself: * @thread : pointer to thread object * - * Join with a terminated thread. Waits for the thread specified by - * @thread to terminate. If that thread has already terminated, then - * it will return immediately. The thread specified by @thread must - * be joinable. - * * Returns: true (1) if calling thread is the specified thread */ bool sthread_isself(sthread_t *thread)