Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Fix one de-_t'ficiation I missed.
details: https://anonhg.NetBSD.org/src/rev/f52488324c5c
branches: trunk
changeset: 446962:f52488324c5c
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Dec 26 21:36:50 2018 +0000
description:
Fix one de-_t'ficiation I missed.
diffstat:
sys/sys/threadpool.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ae1b79051803 -r f52488324c5c sys/sys/threadpool.h
--- a/sys/sys/threadpool.h Wed Dec 26 21:25:51 2018 +0000
+++ b/sys/sys/threadpool.h Wed Dec 26 21:36:50 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: threadpool.h,v 1.3 2018/12/26 18:54:19 thorpej Exp $ */
+/* $NetBSD: threadpool.h,v 1.4 2018/12/26 21:36:50 thorpej Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
typedef void (*threadpool_job_fn_t)(struct threadpool_job *);
-typedef struct threadpool_job {
+struct threadpool_job {
kmutex_t *job_lock;
struct threadpool_thread *job_thread;
TAILQ_ENTRY(threadpool_job) job_entry;
@@ -56,7 +56,7 @@
kcondvar_t job_cv;
threadpool_job_fn_t job_fn;
char job_name[MAXCOMLEN];
-} threadpool_job_t;
+};
int threadpool_get(struct threadpool **, pri_t);
void threadpool_put(struct threadpool *, pri_t);
Home |
Main Index |
Thread Index |
Old Index