216
216
* This macro will return the class lock used to protect deep_notify signal
217
217
* emission on thread-unsafe glib versions (glib < 2.8).
219
222
#define GST_CLASS_GET_LOCK(obj) (GST_OBJECT_CLASS_CAST(obj)->lock)
222
227
* @obj: a #GstObjectClass
226
234
#define GST_CLASS_LOCK(obj) (g_static_rec_mutex_lock(GST_CLASS_GET_LOCK(obj)))
229
239
* @obj: a #GstObjectClass
231
241
* Try to lock the class, returns TRUE if class could be locked.
233
246
#define GST_CLASS_TRYLOCK(obj) (g_static_rec_mutex_trylock(GST_CLASS_GET_LOCK(obj)))
236
251
* @obj: a #GstObjectClass
240
258
#define GST_CLASS_UNLOCK(obj) (g_static_rec_mutex_unlock(GST_CLASS_GET_LOCK(obj)))