Explorar el Código

【增加】线程池版本号,基于 EasyDataManager 上游。

Signed-off-by: armink <armink.ztl@gmail.com>
armink hace 6 años
padre
commit
8a833b2bb5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      thread_pool.h

+ 2 - 0
thread_pool.h

@@ -13,6 +13,8 @@
 #include <rtthread.h>
 #include <rtthread.h>
 #include <string.h>
 #include <string.h>
 
 
+#define THREAD_POOL_VER              "4.0.1"
+
 #define THREAD_POOL_THREADS_INIT_TIME     30    /**< threads initialize average waiting time */
 #define THREAD_POOL_THREADS_INIT_TIME     30    /**< threads initialize average waiting time */
 #define THREAD_POOL_JOB_DEFAULT_PRIORITY  10    /**< thread poll job's priority in rt-thread */
 #define THREAD_POOL_JOB_DEFAULT_PRIORITY  10    /**< thread poll job's priority in rt-thread */
 #define THREAD_POOL_JOB_TICK               5    /**< thread poll job's time slice in rt-thread */
 #define THREAD_POOL_JOB_TICK               5    /**< thread poll job's time slice in rt-thread */