19 lines
228 B
C
Raw Normal View History

2025-01-22 16:18:30 +01:00
#pragma once
#include <pthread.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
pthread_cond_t event;
pthread_mutex_t mutex;
volatile bool set;
bool auto_reset;
} kinc_event_impl_t;
#ifdef __cplusplus
}
#endif