flock mechanic added

This commit is contained in:
2026-05-24 12:28:00 +02:00
parent f25a361bb0
commit c3d1efbc01
2 changed files with 26 additions and 0 deletions

View File

@@ -21,6 +21,8 @@
#define P_BYTES(bytes, start) pretty_bytes((bytes), (start), (char[16]){0}, 16)
#define P_NUM(num) pretty_num((num), (char[8]){0}, 8)
int get_instance_lock(void);
void timespec_add_ms(struct timespec *ts, uint16_t ms);
uint64_t timespec_diff_us(const struct timespec *a, const struct timespec *b);