fix a race condition in test_buffer.py
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 1 Sep 2005 14:41:28 +0000 (14:41 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 1 Sep 2005 14:41:28 +0000 (14:41 +0000)
commitdc83edf73e079e267585429a439790e684fe2441
treee3c2bd3a3cacc8e7ba8c5ad0b881367018268248
parent1bbb59401a2967e5b7ad563c22c44030aead3884
fix a race condition in test_buffer.py

Original commit message from CVS:
fix a race condition in test_buffer.py

* gst/gst.override:
* gst/gstmodule.c: (init_gst):
add a pygst debug category for bindings themselves to use
* gst/gstbuffer.override:
add a repr method; add some assertions
* gst/pygstminiobject.c: (pygst_miniobject_init),
(pygstminiobject_register_wrapper), (pygstminiobject_new),
(pygstminiobject_new_noref), (pygstminiobject_dealloc),
(pygstminiobject_clear):
make the miniobjs hash private with an underscore
add debugging for inserting/removal in hash
fix pygstminiobject_clear - it also needs to remove
from the global hash.  Fixes a nasty race problem in
test_buffer
* testsuite/test_buffer.py:
expand on the subbuffer test
ChangeLog
gst/gst.override
gst/gstbuffer.override
gst/gstmodule.c
gst/pygstminiobject.c
testsuite/test_buffer.py