src/server/daemon/threadpools.h

changeset 415
d938228c382e
parent 256
19259b6c5cf7
--- a/src/server/daemon/threadpools.h	Wed Nov 02 19:19:01 2022 +0100
+++ b/src/server/daemon/threadpools.h	Sun Nov 06 15:53:32 2022 +0100
@@ -29,7 +29,7 @@
 #ifndef THREADPOOLS_H
 #define	THREADPOOLS_H
 
-#include <ucx/string.h>
+#include <cx/string.h>
 
 #include "../public/nsapi.h"
 #include "../util/thrpool.h"
@@ -45,14 +45,14 @@
     int queue_size;
 } ThreadPoolConfig;
 
-int create_threadpool(scstr_t name, ThreadPoolConfig *cfg);
+int create_threadpool(cxstring name, ThreadPoolConfig *cfg);
 
 int check_thread_pool_cfg();
 
 threadpool_t* get_default_threadpool();
-threadpool_t* get_threadpool(sstr_t name);
+threadpool_t* get_threadpool(cxstring name);
 threadpool_t* get_default_iopool();
-threadpool_t* get_iopool(sstr_t name);
+threadpool_t* get_iopool(cxstring name);
 
 #ifdef	__cplusplus
 }

mercurial