aboutsummaryrefslogtreecommitdiff
path: root/src/core/thread.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-05 08:25:50 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-05 08:38:19 -0700
commitd1bd64c8251171ac8e1d4e71ab8726c2a64fd55a (patch)
tree579cc387639a9be8e0b162aeaa0cd55d9c87f725 /src/core/thread.h
parent883e0289cdab5a81312b0593b098f70114b61f88 (diff)
downloadnng-d1bd64c8251171ac8e1d4e71ab8726c2a64fd55a.tar.gz
nng-d1bd64c8251171ac8e1d4e71ab8726c2a64fd55a.tar.bz2
nng-d1bd64c8251171ac8e1d4e71ab8726c2a64fd55a.zip
Various header file fixes... also fix compilation errors when HTTP is disabled.v2.0.0-alpha.6
Also, some instances nni_aio are changed to nng_aio. We think we want to harmonize some of these types going forward as it will reduce the need to include headers hopefully letting us get away with just "defs.h" in more places.
Diffstat (limited to 'src/core/thread.h')
-rw-r--r--src/core/thread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/thread.h b/src/core/thread.h
index 316acdc2..bc9a7411 100644
--- a/src/core/thread.h
+++ b/src/core/thread.h
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2017 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -11,15 +11,15 @@
#ifndef CORE_THREAD_H
#define CORE_THREAD_H
-#include "core/defs.h"
-#include "core/platform.h"
+#include "defs.h"
+#include "platform.h"
struct nni_thr {
nni_plat_thr thr;
nni_plat_mtx mtx;
nni_plat_cv cv;
nni_thr_func fn;
- void * arg;
+ void *arg;
int start;
int stop;
int done;