Make UEFI boot-platform build again
[haiku.git] / headers / private / system / user_thread_defs.h
blobccf80e8b011e7df286722270cdf0ba4b44343e3e
1 /*
2 * Copyright 2008-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _SYSTEM_USER_THREAD_DEFS_H
6 #define _SYSTEM_USER_THREAD_DEFS_H
9 #include <pthread.h>
10 #include <signal.h>
12 #include <SupportDefs.h>
15 struct user_thread {
16 pthread_t pthread; // pthread pointer
17 uint32 flags;
18 status_t wait_status; // wait status for thread blocking
19 int32 defer_signals; // counter; 0 == signals allowed
20 sigset_t pending_signals; // signals that are pending, when
21 // signals are deferred
25 #endif /* _SYSTEM_USER_THREAD_DEFS_H */