pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef _OS_MUTEX_H_
#define _OS_MUTEX_H_
#ifdef __cplusplus
extern "C" {
#endif
struct os_mutex {
uint32 magic;
void *hdl;
};
int32 os_mutex_init(struct os_mutex *mutex);
int32 os_mutex_lock(struct os_mutex *mutex, int32 tmo);
int32 os_mutex_unlock(struct os_mutex *mutex);
int32 os_mutex_del(struct os_mutex *mutex);
#ifdef __cplusplus
}
#endif
#endif