From 635d0ab446c36aea24c926a47d32149af4b07b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Tue, 17 Dec 2024 14:13:03 -0500 Subject: [PATCH] threadpool: remove non required prepocessor conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan José Arboleda --- .github/workflows/CI-unix.yml | 1 + src/threadpool.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/CI-unix.yml b/.github/workflows/CI-unix.yml index 298dca21400..ba6d6f702ca 100644 --- a/.github/workflows/CI-unix.yml +++ b/.github/workflows/CI-unix.yml @@ -12,6 +12,7 @@ on: branches: - v[0-9].* - master + - juan/dead-no-zos jobs: build-linux: diff --git a/src/threadpool.c b/src/threadpool.c index 45af50dcd04..2e80ad63dbd 100644 --- a/src/threadpool.c +++ b/src/threadpool.c @@ -160,20 +160,13 @@ static void post(struct uv__queue* q, enum uv__work_kind kind) { } -#ifdef __MVS__ -/* TODO(itodorov) - zos: revisit when Woz compiler is available. */ -__attribute__((destructor)) -#endif void uv__threadpool_cleanup(void) { unsigned int i; if (nthreads == 0) return; -#ifndef __MVS__ - /* TODO(gabylb) - zos: revisit when Woz compiler is available. */ post(&exit_message, UV__WORK_CPU); -#endif for (i = 0; i < nthreads; i++) if (uv_thread_join(threads + i))