aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/util/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/util/platform.c')
-rw-r--r--src/supplemental/util/platform.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/supplemental/util/platform.c b/src/supplemental/util/platform.c
index ce52491a..fc0f839e 100644
--- a/src/supplemental/util/platform.c
+++ b/src/supplemental/util/platform.c
@@ -29,10 +29,6 @@ nng_msleep(nng_duration dur)
nni_msleep(dur);
}
-// nng_thread is a handle to a "thread", which may be a real system
-// thread, or a coroutine on some platforms.
-typedef struct nng_thread nng_thread;
-
// Create and start a thread. Note that on some platforms, this might
// actually be a coroutine, with limitations about what system APIs
// you can call. Therefore, these threads should only be used with the
@@ -111,8 +107,6 @@ struct nng_cv {
nni_cv c;
};
-typedef struct nng_cv nng_cv;
-
int
nng_cv_alloc(nng_cv **cvp, nng_mtx *mx)
{