diff options
| author | 2025-11-30 14:32:51 -0500 | |
|---|---|---|
| committer | 2025-11-30 14:32:51 -0500 | |
| commit | c8412bbedae0fce38db96833732e8ce904721e4c (patch) | |
| tree | 4611046186c714513d042966ce97825df0fecf9e /src/util | |
| parent | 0d6d13425015d78606232874498327cabcb0e4e2 (diff) | |
| download | camu-c8412bbedae0fce38db96833732e8ce904721e4c.tar.gz camu-c8412bbedae0fce38db96833732e8ce904721e4c.tar.bz2 camu-c8412bbedae0fce38db96833732e8ce904721e4c.zip | |
Build cleanup and fixes from sink testing
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/queue.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/util/queue.h b/src/util/queue.h index 17880e0..08b0a30 100644 --- a/src/util/queue.h +++ b/src/util/queue.h @@ -19,13 +19,6 @@ nn_mutex_unlock(&(q).mutex); \ } while (0) -#define camu_queue_count(q, r) \ - do { \ - nn_mutex_lock(&(q).mutex); \ - r = (q).a.count; \ - nn_mutex_unlock(&(q).mutex); \ - } while (0) - #define camu_queue_init(q) \ do { \ al_array_init((q).a); \ @@ -34,16 +27,7 @@ #define camu_queue_push(q, item) \ do { \ - nn_mutex_lock(&(q).mutex); \ al_array_push((q).a, item); \ - nn_mutex_unlock(&(q).mutex); \ - } while (0) - -#define camu_queue_pop(q, r) \ - do { \ - nn_mutex_lock(&(q).mutex); \ - al_array_pop_at((q).a, 0, r); \ - nn_mutex_unlock(&(q).mutex); \ } while (0) #define camu_queue_try_pop(q, s, r) \ |