From 18d3be81bb6d37e3c3e6e3de22ac39aee8ec11fe Mon Sep 17 00:00:00 2001 From: zzy <2450266535@qq.com> Date: Sat, 4 Nov 2023 13:54:38 +0800 Subject: [PATCH] dev 23.11.4 13:54 --- include/iini.h | 3 ++- include/llog.h | 2 +- include/ssocket.h | 3 ++- include/tthreadpool.h | 26 ++++++++++++++++++++++++++ src/fifo.c | 1 + src/threadpool.c | 3 +++ 6 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 include/tthreadpool.h diff --git a/include/iini.h b/include/iini.h index 7a6ffcb..c2cceb7 100644 --- a/include/iini.h +++ b/include/iini.h @@ -3,7 +3,8 @@ #include #include -#include "sysenv.h" + +#include #if _OS_WIN #elif _OS_LINUX diff --git a/include/llog.h b/include/llog.h index 79e7b8e..9ec04f0 100644 --- a/include/llog.h +++ b/include/llog.h @@ -5,7 +5,7 @@ #include #include -#include "sysenv.h" +#include #if _OS_WIN #elif _OS_LINUX diff --git a/include/ssocket.h b/include/ssocket.h index 85ed346..140927f 100644 --- a/include/ssocket.h +++ b/include/ssocket.h @@ -4,7 +4,8 @@ #include #include #include -#include "sysenv.h" + +#include #if _OS_WIN #define WIN_PART 1 diff --git a/include/tthreadpool.h b/include/tthreadpool.h new file mode 100644 index 0000000..c32e16b --- /dev/null +++ b/include/tthreadpool.h @@ -0,0 +1,26 @@ +#ifndef _TTHREAD_POOL_H_ +#define _TTHREAD_POOL_H_ + +#include +#include + +#if _OS_WIN + +#elif _OS_LINUX + +#else +#error "Not Supported Operator System" +#endif + + + + #ifdef __cplusplus + extern "C" { + #endif + + + #ifdef __cplusplus + } + #endif + +#endif // _TTHREAD_POOL_H_ \ No newline at end of file diff --git a/src/fifo.c b/src/fifo.c index e69de29..084d55f 100644 --- a/src/fifo.c +++ b/src/fifo.c @@ -0,0 +1 @@ +#include \ No newline at end of file diff --git a/src/threadpool.c b/src/threadpool.c index e69de29..d67473e 100644 --- a/src/threadpool.c +++ b/src/threadpool.c @@ -0,0 +1,3 @@ +#include +#include +#include \ No newline at end of file