summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librthread/rthread.h')
-rw-r--r--lib/librthread/rthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/librthread/rthread.h b/lib/librthread/rthread.h
index 177f31db242..1a73d61e4e0 100644
--- a/lib/librthread/rthread.h
+++ b/lib/librthread/rthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.h,v 1.53 2015/10/18 08:02:58 guenther Exp $ */
+/* $OpenBSD: rthread.h,v 1.54 2015/11/10 04:30:59 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -162,6 +162,7 @@ struct pthread {
pid_t tid;
unsigned int flags;
struct _spinlock flags_lock;
+ void *tcb;
void *retval;
void *(*fn)(void *);
void *arg;
@@ -241,4 +242,5 @@ int sched_yield(void);
int _thread_sys_sigaction(int, const struct sigaction *,
struct sigaction *);
int _thread_sys_sigprocmask(int, const sigset_t *, sigset_t *);
+int _thread_sys_thrkill(pid_t _tid, int _signum, void *_tcb);