瀏覽代碼

libuv: Add proctitle and threadpool cleanup stubs to cmake-bootstrap.c

These are now called by `uv_library_shutdown` in `src/uv-common.c` but
on UNIX we do not compile those features during CMake bootstrap.
Brad King 5 年之前
父節點
當前提交
2628eb7460
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Utilities/cmlibuv/src/unix/cmake-bootstrap.c

+ 6 - 0
Utilities/cmlibuv/src/unix/cmake-bootstrap.c

@@ -1,6 +1,12 @@
 #include "uv.h"
 #include "internal.h"
 
+void uv__process_title_cleanup(void) {
+}
+
+void uv__threadpool_cleanup(void) {
+}
+
 int uv__tcp_nodelay(int fd, int on) {
   errno = EINVAL;
   return -1;