Searched refs:started_count (Results 1 – 3 of 3) sorted by relevance
15 let started_count = Arc::new(AtomicUsize::new(0)); in run_on_many_threads() localVariable20 let started_count = started_count.clone(); in run_on_many_threads() localVariable25 started_count.fetch_add(1, Ordering::SeqCst); in run_on_many_threads()35 while started_count.load(Ordering::SeqCst) != thread_count { in run_on_many_threads()
58 gint started_count; member168 provider->priv->started_count = 0; in gst_device_provider_init()415 started = (provider->priv->started_count > 0); in gst_device_provider_get_devices()469 if (provider->priv->started_count > 0) { in gst_device_provider_start()470 provider->priv->started_count++; in gst_device_provider_start()500 provider->priv->started_count++; in gst_device_provider_start()501 } else if (provider->priv->started_count == 0) { in gst_device_provider_start()533 if (provider->priv->started_count == 1) { in gst_device_provider_stop()541 } else if (provider->priv->started_count < 1) { in gst_device_provider_stop()547 provider->priv->started_count--; in gst_device_provider_stop()[all …]
3071 This patch also switches the started_count type from bool to int, for9538 GstDeviceProvider has a started_count private variable counter,9547 else if (provider->priv->started_count < 1) {