diff options
Diffstat (limited to 'sys/sys/task.h')
-rw-r--r-- | sys/sys/task.h | 6 |
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); |