fix: prevent multi-threaded server race conditions

This commit is contained in:
ngn
2024-08-16 00:22:44 +03:00
parent 9f0665ce64
commit 7b1bee0b99
4 changed files with 206 additions and 193 deletions

View File

@ -162,6 +162,7 @@ typedef struct lm_error_desc {
void lm_error_set(lm_error_t code, ...);
void lm_error_clear();
void lm_error_init();
lm_error_t lm_error();
char *lm_strerror();