summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-30 16:47:57 +0100
committerJohns <johns98@gmx.net>2011-12-30 16:47:57 +0100
commit12bfab3f10ad4c1de6c650e9d1fdecd906683821 (patch)
tree0c9a814587b29189ccb01a5fc0e16b452a11ce6a /video.c
parentbded2ae5dfa5e8b79c900699c6b6e87b784b71ed (diff)
downloadvdr-plugin-softhddevice-12bfab3f10ad4c1de6c650e9d1fdecd906683821.tar.gz
vdr-plugin-softhddevice-12bfab3f10ad4c1de6c650e9d1fdecd906683821.tar.bz2
Name threads for easier debugging.
Diffstat (limited to 'video.c')
-rw-r--r--video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video.c b/video.c
index b7c80c2..f2f1b06 100644
--- a/video.c
+++ b/video.c
@@ -5709,6 +5709,7 @@ void VideoDisplayHandler(void)
pthread_mutex_init(&VideoLockMutex, NULL);
pthread_cond_init(&VideoWakeupCond, NULL);
pthread_create(&VideoThread, NULL, VideoDisplayHandlerThread, NULL);
+ pthread_setname_np(VideoThread, "softhddev video");
//pthread_detach(VideoThread);
}
}