Browse Source

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

Signed-off-by: armink <armink.ztl@gmail.com>
armink 6 years ago
parent
commit
8a833b2bb5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      thread_pool.h

+ 2 - 0
thread_pool.h

@@ -13,6 +13,8 @@
 #include <rtthread.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_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 */