/** create a new thread that runs \a start with \a arg */ struct spa_thread * (*create) (void *object, conststruct spa_dict *props, void *(*start)(void*), void *arg); /** stop and join a thread */ int (*join)(void *object, struct spa_thread *thread, void **retval);
/** get realtime priority range for threads created with \a props */ int (*get_rt_range) (void *object, conststruct spa_dict *props, int *min, int *max); /** acquire realtime priority, a priority of -1 refers to the priority *configuredintherealtimemodule
*/ int (*acquire_rt) (void *object, struct spa_thread *thread, int priority); /** drop realtime priority */ int (*drop_rt) (void *object, struct spa_thread *thread);
};
#define SPA_KEY_THREAD_NAME "thread.name"/* the thread name */ #define SPA_KEY_THREAD_STACK_SIZE "thread.stack-size"/* the stack size of the thread */ #define SPA_KEY_THREAD_AFFINITY "thread.affinity"/* array of CPUs for this thread */ #define SPA_KEY_THREAD_CREATOR "thread.creator"/* platform specific thread creator function */
/** *\}
*/
#ifdef __cplusplus
} /* extern "C" */ #endif
#endif/* SPA_THREAD_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-26)
¤
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.