summaryrefslogtreecommitdiff
path: root/ace/os_include/ucontext.h
blob: 3576def7c27922518ee841f331eedae4ad741fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// -*- C++ -*-

//=============================================================================
/**
 *  @file    os_ucontext.h
 *
 *  user context
 *
 *  $Id$
 *
 *  @author Don Hinton <dhinton@dresystems.com>
 *  @author This code was originally in various places including ace/OS.h.
 */
//=============================================================================

#ifndef ACE_OS_INCLUDE_OS_UCONTEXT_H
#define ACE_OS_INCLUDE_OS_UCONTEXT_H

#include "ace/pre.h"

#include "ace/config-all.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

// @todo need to define sigset_t both here and in signal.h, but
// there is a circular dependancy since signal.h needs to include ucontext.h
//#include "ace/os_include/signal.h"

#if !defined (ACE_LACKS_UCONTEXT_H)
#  include /**/ <ucontext.h>
#endif /* !ACE_LACKS_ucontext_H */

// Place all additions (especially function declarations) within extern "C" {}
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

#ifdef __cplusplus
}
#endif /* __cplusplus */

#include "ace/post.h"
#endif /* ACE_OS_INCLUDE_OS_UCONTEXT_H */