Revert "Add sys/ucontext.h"
This reverts commit 6ddf93bfbe
.
As pointed out by Ingo, those were moved to sugnal.h in the latest issue
(issue 7) of the POSIX spec. Sorry!
This commit is contained in:
parent
6ddf93bfbe
commit
4ad7d95bac
@ -351,4 +351,14 @@ typedef struct vregs vregs;
|
|||||||
#include __HAIKU_ARCH_HEADER(signal.h)
|
#include __HAIKU_ARCH_HEADER(signal.h)
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct vregs mcontext_t;
|
||||||
|
|
||||||
|
typedef struct __ucontext_t {
|
||||||
|
struct __ucontext_t* uc_link;
|
||||||
|
sigset_t uc_sigmask;
|
||||||
|
stack_t uc_stack;
|
||||||
|
mcontext_t uc_mcontext;
|
||||||
|
} ucontext_t;
|
||||||
|
|
||||||
|
|
||||||
#endif /* _SIGNAL_H_ */
|
#endif /* _SIGNAL_H_ */
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2014, Haiku, Inc. All Rights Reserved.
|
|
||||||
* Distributed under the terms of the MIT License.
|
|
||||||
*/
|
|
||||||
#ifndef _UCONTEXT_H_
|
|
||||||
#define _UCONTEXT_H_
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct vregs mcontext_t;
|
|
||||||
|
|
||||||
typedef struct __ucontext_t {
|
|
||||||
struct __ucontext_t* uc_link;
|
|
||||||
sigset_t uc_sigmask;
|
|
||||||
stack_t uc_stack;
|
|
||||||
mcontext_t uc_mcontext;
|
|
||||||
} ucontext_t;
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -17,7 +17,6 @@
|
|||||||
#include <heap.h>
|
#include <heap.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/KernelReferenceable.h>
|
#include <util/KernelReferenceable.h>
|
||||||
#include <sys/ucontext.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace BKernel {
|
namespace BKernel {
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/KernelReferenceable.h>
|
#include <util/KernelReferenceable.h>
|
||||||
#include <util/list.h>
|
#include <util/list.h>
|
||||||
#include <sys/ucontext.h>
|
|
||||||
|
|
||||||
|
|
||||||
enum additional_thread_state {
|
enum additional_thread_state {
|
||||||
|
Loading…
Reference in New Issue
Block a user