NNStreamer watchdog to manage the schedule in the element. More...
Go to the source code of this file.
Classes | |
struct | _NnstWatchdog |
Structure for NNStreamer watchdog. More... | |
Typedefs | |
typedef struct _NnstWatchdog | NnstWatchdog |
Structure for NNStreamer watchdog. More... | |
Functions | |
static gboolean | _loop_running_cb (NnstWatchdog *watchdog) |
Called when loop is running. More... | |
static gpointer | _nnstreamer_watchdog_thread (gpointer ptr) |
Watchdog thread. More... | |
gboolean | nnstreamer_watchdog_create (nns_watchdog_h *watchdog_h) |
Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
void | nnstreamer_watchdog_destroy (nns_watchdog_h watchdog_h) |
Destroy watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
void | nnstreamer_watchdog_release (nns_watchdog_h watchdog_h) |
Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
gboolean | nnstreamer_watchdog_feed (nns_watchdog_h watchdog_h, GSourceFunc func, guint interval, void *user_data) |
Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
NNStreamer watchdog to manage the schedule in the element.
NNStreamer watchdog Copyright (C) 2024 Gichan Jang gicha n2.j ang@s amsu ng.co m
Definition in file nnstreamer_watchdog.c.
typedef struct _NnstWatchdog NnstWatchdog |
Structure for NNStreamer watchdog.
|
static |
Called when loop is running.
Definition at line 35 of file nnstreamer_watchdog.c.
|
static |
Watchdog thread.
Definition at line 48 of file nnstreamer_watchdog.c.
gboolean nnstreamer_watchdog_create | ( | nns_watchdog_h * | watchdog_h | ) |
Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 72 of file nnstreamer_watchdog.c.
void nnstreamer_watchdog_destroy | ( | nns_watchdog_h | watchdog_h | ) |
Destroy watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 133 of file nnstreamer_watchdog.c.
gboolean nnstreamer_watchdog_feed | ( | nns_watchdog_h | watchdog_h, |
GSourceFunc | func, | ||
guint | interval, | ||
void * | user_data | ||
) |
Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 171 of file nnstreamer_watchdog.c.
void nnstreamer_watchdog_release | ( | nns_watchdog_h | watchdog_h | ) |
Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 157 of file nnstreamer_watchdog.c.