/** the loop is destroyed */ void (*destroy) (void *data);
};
/** Make a new thread loop with the given name and optional properties. */ struct pw_thread_loop *
pw_thread_loop_new(constchar *name, conststruct spa_dict *props);
/** Make a new thread loop with the given loop, name and optional properties.
* When \a loop is NULL, a new loop will be created. */ struct pw_thread_loop *
pw_thread_loop_new_full(struct pw_loop *loop, constchar *name, conststruct spa_dict *props);
/** Destroy a thread loop */ void pw_thread_loop_destroy(struct pw_thread_loop *loop);
/** Get the loop implementation of the thread loop */ struct pw_loop * pw_thread_loop_get_loop(struct pw_thread_loop *loop);
/** Start the thread loop */ int pw_thread_loop_start(struct pw_thread_loop *loop);
/** Stop the thread loop */ void pw_thread_loop_stop(struct pw_thread_loop *loop);
/** Lock the loop. This ensures exclusive ownership of the loop */ void pw_thread_loop_lock(struct pw_thread_loop *loop);
/** Unlock the loop */ void pw_thread_loop_unlock(struct pw_thread_loop *loop);
/** Release the lock and wait until some thread calls \ref pw_thread_loop_signal */ void pw_thread_loop_wait(struct pw_thread_loop *loop);
/** Release the lock and wait a maximum of 'wait_max_sec' seconds
* until some thread calls \ref pw_thread_loop_signal or time out */ int pw_thread_loop_timed_wait(struct pw_thread_loop *loop, int wait_max_sec);
/** Get a struct timespec suitable for \ref pw_thread_loop_timed_wait_full.
* Since: 0.3.7 */ int pw_thread_loop_get_time(struct pw_thread_loop *loop, struct timespec *abstime, int64_t timeout);
/** Release the lock and wait up to \a abstime until some thread calls *\refpw_thread_loop_signal.Use\refpw_thread_loop_get_timetomakeatimeout.
* Since: 0.3.7 */ int pw_thread_loop_timed_wait_full(struct pw_thread_loop *loop, conststruct timespec *abstime);
/** Signal all threads waiting with \ref pw_thread_loop_wait */ void pw_thread_loop_signal(struct pw_thread_loop *loop, bool wait_for_accept);
/** Signal all threads executing \ref pw_thread_loop_signal with wait_for_accept */ void pw_thread_loop_accept(struct pw_thread_loop *loop);
/** Check if inside the thread */ bool pw_thread_loop_in_thread(struct pw_thread_loop *loop);
/** *\}
*/
#ifdef __cplusplus
} #endif
#endif/* PIPEWIRE_THREAD_LOOP_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.