gstreamer/tests/check/gst
Stian Selnes 2b0ff13d07 systemclock: Fix wait/unschedule race
Fixes a race where an entry is set to BUSY in
gst_system_clock_id_wait_jitter() and is UNSCHEDULED before
gst_system_clock_id_wait_jitter_unlocked() starts processing it. The
wakeup added by gst_system_clock_id_unschedule() must be cleaned up.

Two stress tests are added. One test that triggers the specific issue
described above. The second stresses the code path where a wait is
rescheduled because the poll returned early.

https://bugzilla.gnome.org/show_bug.cgi?id=761586
2016-02-10 08:59:33 -03:00
..
.gitignore tracerrecord: add a log record class 2016-01-15 21:54:01 +01:00
capslist.h gstvalue: Add GstFlagSet type 2015-05-25 16:23:33 +10:00
gst.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstabi.c libsabi: Special struct size values for W32 2013-04-09 20:10:46 +02:00
gstatomicqueue.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstbin.c bin: Make sure we don't add/remove a bin to/from itself 2015-08-25 10:19:44 +03:00
gstbuffer.c buffer: locking memory exclusively may fail 2015-06-03 20:41:44 +10:00
gstbufferlist.c bufferlist: add new api gst_buffer_list_copy_deep 2015-06-24 10:52:56 +02:00
gstbufferpool.c bufferpool: Don't stop the pool in set_config() 2015-03-14 12:00:53 +00:00
gstbus.c tests: bus: add unit test for async message delivery 2015-02-17 09:52:14 +00:00
gstcaps.c tests: caps: fix test_intersect_flagset failure 2015-06-29 13:47:31 +01:00
gstcapsfeatures.c capsfeatures: Add GST_CAPS_FEATURES_ANY 2013-04-02 22:17:22 +02:00
gstchildproxy.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstclock.c tests: clock: fix test clock name 2015-04-15 09:31:11 +01:00
gstcontext.c bin: implement context propagation when adding elements 2015-09-28 18:21:59 +10:00
gstcontroller.c controller: code cleanups 2013-03-08 13:16:40 +01:00
gstcpp.cc tests: rebuild one test using cpp 2010-09-22 10:22:40 +03:00
gstdatetime.c datetime: accept just a time as ISO 8601 string and use today's date then 2015-08-11 09:50:50 +01:00
gstdevice.c devicemonitor: don't fail when started without any filters 2014-06-27 10:47:50 +01:00
gstelement.c Revert "element: set pads need-parent flag to false when removing" 2015-02-20 16:22:23 -05:00
gstelementfactory.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstevent.c tests: event: fix build failure 2015-08-26 09:29:05 -03:00
gstghostpad.c tests: Fix event order warnings and dataflow before stream-start/segment event 2013-05-09 13:32:07 +02:00
gstindex.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstinfo.c tests:gstinfo: Fix string memory leak 2016-01-25 09:41:41 -03:00
gstiterator.c iterator: Add unit tests for filtering, recursive filtering and locking 2014-01-18 14:48:54 +01:00
gstmemory.c memory: Fix compiler warnings in unit test 2015-06-07 09:08:35 +02:00
gstmessage.c message: accept NULL error argument in gst_message_parse_{error,warning,info} 2013-02-13 16:52:13 +00:00
gstmeta.c meta: transform_func: return FALSE if not supported or failed 2015-07-07 13:40:17 +03:00
gstminiobject.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstobject.c gstcheck: Print newline in message handler 2015-06-23 16:17:56 +01:00
gstpad.c pad: test for checking the order of the probe calls 2015-11-11 14:45:19 +01:00
gstparamspecs.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpipeline.c pipeline: Add unit test for resetting of the start time 2014-07-21 09:33:54 +02:00
gstplugin.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpoll.c tests: fix locking in gstpoll unit test 2014-07-06 12:10:09 +01:00
gstpreset.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstprintf.c tests: printf: add unit test for %% 2015-04-24 15:19:26 +01:00
gstprotection.c gstprotection: Add missing namespace to macro 2015-06-13 12:25:19 -04:00
gstquery.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstregistry.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstsegment.c segment: Add _full variants of all stream/running_time from/to segment position functions 2015-10-23 15:50:38 +03:00
gststructure.c tests: structure: fix wrong flag name in deserialization test 2016-01-18 19:39:05 +00:00
gstsystemclock.c systemclock: Fix wait/unschedule race 2016-02-10 08:59:33 -03:00
gsttag.c tests: fix the tag test 2015-10-05 21:29:49 +02:00
gsttagsetter.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttask.c task: Fix pause/stop race condition 2014-11-12 12:00:48 +01:00
gsttoc.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttocsetter.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttracerrecord.c tracerrecord: don't leak the spec structures 2016-01-22 10:07:26 +01:00
gsturi.c uri: tests: added unit test for streams ending in .. without following / 2015-10-24 20:32:53 +03:00
gstutils.c tests: gstutils: fix wrong description of test element 2015-06-24 12:05:47 -03:00
gstvalue.c value: fail flag deserialization on invalid flag names 2016-01-18 19:39:11 +00:00
struct_arm.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_hppa.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_i386.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_i386w.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_ppc32.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_ppc64.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_sparc.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_x86_64.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00