gst/gsttask.*: Detect and warn for obvious deadlocks. fixes #320340
authorWim Taymans <wim.taymans@gmail.com>
Mon, 13 Feb 2006 17:03:23 +0000 (17:03 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 13 Feb 2006 17:03:23 +0000 (17:03 +0000)
commit2681eaea50e6c8cc1fa5511359202b83cb3e1412
treefb7f98c5795ba38f0d77e9059f4b8b9cc2bc4793
parent1fb8d4697b8e7ed29a85d10bc58c78fb4265137e
gst/gsttask.*: Detect and warn for obvious deadlocks. fixes #320340

Original commit message from CVS:
* gst/gsttask.c: (gst_task_init), (gst_task_func),
(gst_task_set_lock), (gst_task_start), (gst_task_pause),
(gst_task_join):
* gst/gsttask.h:
Detect and warn for obvious deadlocks. fixes #320340
Fix error case where lock was not released.

* tests/check/Makefile.am:
* tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
(task_func), (gst_element_suite), (main):
Add task check.
ChangeLog
gst/gsttask.c
gst/gsttask.h
tests/check/Makefile.am
tests/check/gst/gsttask.c [new file with mode: 0644]