From 55bb30899899d1e6f34e85d87909d5108d085adb Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:14:07 +1000 Subject: defining api for mutex/thread --- src/platform/thread.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/platform/thread.h (limited to 'src/platform/thread.h') diff --git a/src/platform/thread.h b/src/platform/thread.h new file mode 100644 index 0000000..a3560cb --- /dev/null +++ b/src/platform/thread.h @@ -0,0 +1,17 @@ +/** + * @file thread.h + * @author your name (you@domain.com) + * @brief + * @version 0.1 + * @date 2024-04-27 + * + * @copyright Copyright (c) 2024 + * + */ + +typedef struct cel_thread cel_thread; + +cel_thread thread_create(); +void thread_destroy(cel_thread* thread); + +// join \ No newline at end of file -- cgit v1.2.3-70-g09d2