gst/gst.defs: Add 'unblock-threads #t' for critical functions/methods.

Original commit message from CVS:
* gst/gst.defs:
Add 'unblock-threads #t' for critical functions/methods.
This commit is contained in:
Edward Hervey 2006-06-13 10:55:09 +00:00
parent 8c3aae3818
commit 54b5a6bf6e
2 changed files with 59 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-06-13 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Add 'unblock-threads #t' for critical functions/methods.
2006-06-12 Edward Hervey <edward@fluendo.com>
* testsuite/Makefile.am:

View file

@ -87,6 +87,7 @@
'("GstElement*" "element_1")
)
(varargs #t)
(unblock-threads #t)
)
(define-method add_many
@ -97,6 +98,7 @@
'("GstElement*" "element_1")
)
(varargs #t)
(unblock-threads #t)
)
(define-method remove
@ -107,6 +109,7 @@
'("GstElement*" "element_1")
)
(varargs #t)
(unblock-threads #t)
)
(define-method remove_many
@ -117,7 +120,9 @@
'("GstElement*" "element_1")
)
(varargs #t)
(unblock-threads #t)
)
(define-method get_by_name
(of-object "GstBin")
(c-name "gst_bin_get_by_name")
@ -315,6 +320,7 @@
(parameters
'("GstMessage*" "message" (keep-refcount))
)
(unblock-threads #t)
)
(define-method have_pending
@ -393,6 +399,7 @@
'("GstMessageType" "events")
'("GstClockTimeDiff" "timeout")
)
(unblock-threads #t)
)
(define-method async_signal_func
@ -998,6 +1005,7 @@
(c-name "gst_element_provide_clock")
(return-type "GstClock*")
(caller-owns-return #t)
(unblock-threads #t)
)
(define-method set_clock
@ -1007,6 +1015,7 @@
(parameters
'("GstClock*" "clock")
)
(unblock-threads #t)
)
(define-method set_base_time
@ -1016,6 +1025,7 @@
(parameters
'("GstClockTime" "time")
)
(unblock-threads #t)
)
(define-method get_base_time
@ -1037,6 +1047,7 @@
(parameters
'("GstIndex*" "index")
)
(unblock-threads #t)
)
(define-method get_index
@ -1053,6 +1064,7 @@
(parameters
'("GstBus*" "bus")
)
(unblock-threads #t)
)
(define-method get_bus
@ -1060,6 +1072,7 @@
(c-name "gst_element_get_bus")
(return-type "GstBus*")
(caller-owns-return #t)
(unblock-threads #t)
)
(define-method get_clock
@ -1067,6 +1080,7 @@
(c-name "gst_element_get_clock")
(return-type "GstClock*")
(caller-owns-return #t)
(unblock-threads #t)
)
(define-method add_pad
@ -1076,6 +1090,7 @@
(parameters
'("GstPad*" "pad")
)
(unblock-threads #t)
)
(define-method remove_pad
@ -1085,12 +1100,14 @@
(parameters
'("GstPad*" "pad")
)
(unblock-threads #t)
)
(define-method no_more_pads
(of-object "GstElement")
(c-name "gst_element_no_more_pads")
(return-type "none")
(unblock-threads #t)
)
(define-method get_pad
@ -1101,6 +1118,7 @@
(parameters
'("const-gchar*" "name")
)
(unblock-threads #t)
)
(define-method get_static_pad
@ -1111,6 +1129,7 @@
(parameters
'("const-gchar*" "name")
)
(unblock-threads #t)
)
(define-method get_request_pad
@ -1121,6 +1140,7 @@
(parameters
'("const-gchar*" "name")
)
(unblock-threads #t)
)
(define-method release_request_pad
@ -1130,6 +1150,7 @@
(parameters
'("GstPad*" "pad")
)
(unblock-threads #t)
)
(define-method pads
@ -1157,6 +1178,7 @@
(parameters
'("GstEvent*" "event" (keep-refcount))
)
(unblock-threads #t)
)
(define-method seek
@ -1172,6 +1194,7 @@
'("GstSeekType" "stop_type")
'("gint64" "stop")
)
(unblock-threads #t)
)
(define-method get_query_types
@ -1187,6 +1210,7 @@
(parameters
'("GstQuery*" "query")
)
(unblock-threads #t)
)
(define-method post_message
@ -1196,6 +1220,7 @@
(parameters
'("GstMessage*" "message" (keep-refcount))
)
(unblock-threads #t)
)
(define-method message_full
@ -1212,12 +1237,14 @@
'("const-gchar*" "function")
'("gint" "line")
)
(unblock-threads #t)
)
(define-method is_locked_state
(of-object "GstElement")
(c-name "gst_element_is_locked_state")
(return-type "gboolean")
(unblock-threads #t)
)
(define-method set_locked_state
@ -1227,12 +1254,14 @@
(parameters
'("gboolean" "locked_state")
)
(unblock-threads #t)
)
(define-method sync_state_with_parent
(of-object "GstElement")
(c-name "gst_element_sync_state_with_parent")
(return-type "gboolean")
(unblock-threads #t)
)
(define-method get_state
@ -1244,6 +1273,7 @@
'("GstState*" "pending")
'("GstClockTime" "timeout")
)
(unblock-threads #t)
)
(define-method set_state
@ -1253,12 +1283,14 @@
(parameters
'("GstState" "state")
)
(unblock-threads #t)
)
(define-method abort_state
(of-object "GstElement")
(c-name "gst_element_abort_state")
(return-type "none")
(unblock-threads #t)
)
(define-method continue_state
@ -1268,12 +1300,14 @@
(parameters
'("GstStateChangeReturn" "retstate")
)
(unblock-threads #t)
)
(define-method lost_state
(of-object "GstElement")
(c-name "gst_element_lost_state")
(return-type "none")
(unblock-threads #t)
)
(define-method get_factory
@ -2118,6 +2152,7 @@
(parameters
'("gint" "id")
)
(unblock-threads #t)
)
(define-method get_group
@ -2139,6 +2174,7 @@
(parameters
'("gint" "groupnum")
)
(unblock-threads #t)
)
(define-method set_certainty
@ -3161,6 +3197,7 @@
(parameters
'("GstObject*" "parent")
)
(unblock-threads #t)
)
(define-method get_parent
@ -3174,6 +3211,7 @@
(of-object "GstObject")
(c-name "gst_object_unparent")
(return-type "none")
(unblock-threads #t)
)
(define-method has_ancestor
@ -3925,6 +3963,7 @@
'("GstPad*" "pad")
'("GstTagList*" "list")
)
(unblock-threads #t)
)
(define-method found_tags
@ -3934,6 +3973,7 @@
(parameters
'("GstTagList*" "list")
)
(unblock-threads #t)
)
(define-function gst_parse_bin_from_description
@ -6387,12 +6427,14 @@
'("GError*" "error")
'("gchar*" "debug")
)
(unblock-threads #t)
)
(define-method create_all_pads
(of-object "GstElement")
(c-name "gst_element_create_all_pads")
(return-type "none")
(unblock-threads #t)
)
(define-method get_compatible_pad
@ -6403,6 +6445,7 @@
'("GstPad*" "pad")
'("const-GstCaps*" "caps" (null-ok) (default "NULL"))
)
(unblock-threads #t)
)
(define-method get_compatible_pad_template
@ -6412,6 +6455,7 @@
(parameters
'("GstPadTemplate*" "compattempl")
)
(unblock-threads #t)
)
(define-method get_name
@ -6454,6 +6498,7 @@
(parameters
'("GstElement*" "dest")
)
(unblock-threads #t)
)
(define-method link_filtered
@ -6464,6 +6509,7 @@
'("GstElement*" "dest")
'("GstCaps*" "filter")
)
(unblock-threads #t)
)
(define-function element_unlink_many
@ -6474,6 +6520,7 @@
'("GstElement*" "element_2")
)
(varargs #t)
(unblock-threads #t)
)
(define-method link_pads
@ -6485,6 +6532,7 @@
'("GstElement*" "dest")
'("const-gchar*" "destpadname")
)
(unblock-threads #t)
)
(define-method unlink_pads
@ -6496,6 +6544,7 @@
'("GstElement*" "dest")
'("const-gchar*" "destpadname")
)
(unblock-threads #t)
)
(define-method link_pads_filtered
@ -6508,6 +6557,7 @@
'("const-gchar*" "destpadname")
'("GstCaps*" "filter")
)
(unblock-threads #t)
)
(define-method seek_simple
@ -6519,6 +6569,7 @@
'("GstSeekFlags" "seek_flags")
'("gint64" "seek_pos")
)
(unblock-threads #t)
)
(define-method can_src_caps
@ -6548,6 +6599,7 @@
'("GstFormat*" "format")
'("gint64*" "cur")
)
(unblock-threads #t)
)
(define-method query_duration
@ -6558,6 +6610,7 @@
'("GstFormat*" "format")
'("gint64*" "duration")
)
(unblock-threads #t)
)
(define-method query_convert
@ -6570,6 +6623,7 @@
'("GstFormat*" "dest_fmt")
'("gint64*" "dest_val")
)
(unblock-threads #t)
)
(define-method install_std_props