aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/task.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
committerCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
commit317043010879767bc6a3bef6cbec0c5f300d1ce0 (patch)
tree4bb7c8cd59acb28c4c21eea06cb653f7b82d5aeb /sys/sys/task.h
parent54d853eaccae1f4f2e04ae70d79e34cfef86bf67 (diff)
downloadotools-317043010879767bc6a3bef6cbec0c5f300d1ce0.tar.gz
sys: update to 6.8
Diffstat (limited to 'sys/sys/task.h')
-rw-r--r--sys/sys/task.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/task.h b/sys/sys/task.h
index 222c2a7..07a2cd6 100644
--- a/sys/sys/task.h
+++ b/sys/sys/task.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: task.h,v 1.16 2019/06/23 12:56:10 kettenis Exp $ */
+/* $OpenBSD: task.h,v 1.18 2020/08/01 08:40:20 anton Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -28,10 +28,12 @@ struct task {
void (*t_func)(void *);
void *t_arg;
unsigned int t_flags;
+#if 1 /* NKCOV > 0 */
+ struct process *t_process;
+#endif
};
#define TASK_ONQUEUE 1
-#define TASK_BARRIER 2
TAILQ_HEAD(task_list, task);