Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/pipewire/pipewire/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  thread.h

  Sprache: C
 

/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
/* SPDX-License-Identifier: MIT */

#ifndef PIPEWIRE_THREAD_H
#define PIPEWIRE_THREAD_H

#ifdef __cplusplus
extern "C" {
#endif

#include <string.h>
#include <errno.h>

#include <spa/support/thread.h>

/** \defgroup pw_thread Thread
 *
 * \brief functions to manipulate threads
 */


/**
 * \addtogroup pw_thread
 * \{
 */


SPA_DEPRECATED
void pw_thread_utils_set(struct spa_thread_utils *impl);
struct spa_thread_utils *pw_thread_utils_get(void);
void *pw_thread_fill_attr(const struct spa_dict *props, void *attr);

#ifndef PW_API_THREAD_IMPL
#define PW_API_THREAD_IMPL static inline
#endif

PW_API_THREAD_IMPL struct spa_thread *pw_thread_utils_create(
  const struct spa_dict *props, void *(*start_routine)(void*), void *arg)
{
 return spa_thread_utils_create(pw_thread_utils_get(), props, start_routine, arg);
}
PW_API_THREAD_IMPL int pw_thread_utils_join(struct spa_thread *thread, void **retval)
{
 return spa_thread_utils_join(pw_thread_utils_get(), thread, retval);
}
PW_API_THREAD_IMPL int pw_thread_utils_get_rt_range(const struct spa_dict *props, int *min, int *max)
{
 return spa_thread_utils_get_rt_range(pw_thread_utils_get(), props, min, max);
}
PW_API_THREAD_IMPL int pw_thread_utils_acquire_rt(struct spa_thread *thread, int priority)
{
 return spa_thread_utils_acquire_rt(pw_thread_utils_get(), thread, priority);
}
PW_API_THREAD_IMPL int pw_thread_utils_drop_rt(struct spa_thread *thread)
{
 return spa_thread_utils_drop_rt(pw_thread_utils_get(), thread);
}

/**
 * \}
 */


#ifdef __cplusplus
}  /* extern "C" */
#endif

#endif /* PIPEWIRE_THREAD_H */

Messung V0.5 in Prozent
C=98 H=95 G=96

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.