[vlc-devel] commit: Warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jul 26 18:26:05 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 26 19:25:58 2009 +0300| [a2f98872836c6dfc18b884fefd348ea677be71f2] | committer: Rémi Denis-Courmont 

Warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2f98872836c6dfc18b884fefd348ea677be71f2
---

 src/misc/pthread.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/misc/pthread.c b/src/misc/pthread.c
index 644bf50..068cfa8 100644
--- a/src/misc/pthread.c
+++ b/src/misc/pthread.c
@@ -584,9 +584,11 @@ void vlc_cancel (vlc_thread_t thread_id)
 }
 
 /**
- * Waits for a thread to complete (if needed), and destroys it.
+ * Waits for a thread to complete (if needed), then destroys it.
  * This is a cancellation point; in case of cancellation, the join does _not_
  * occur.
+ * @warning
+ * A thread cannot join itself (normally VLC will abort if this is attempted).
  *
  * @param handle thread handle
  * @param p_result [OUT] pointer to write the thread return value or NULL




More information about the vlc-devel mailing list