A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible compilation problem with the declaration of msg_comm_t
[simgrid.git]
/
include
/
xbt
/
win32_ucontext.h
diff --git
a/include/xbt/win32_ucontext.h
b/include/xbt/win32_ucontext.h
index
af3c78c
..
0cc53b6
100644
(file)
--- a/
include/xbt/win32_ucontext.h
+++ b/
include/xbt/win32_ucontext.h
@@
-15,37
+15,32
@@
* Lesser General Public License for more details.
\r
*
\r
* You should have received a copy of the GNU Lesser General Public
\r
* Lesser General Public License for more details.
\r
*
\r
* You should have received a copy of the GNU Lesser General Public
\r
- * License along with
QueueUserAPCEx in the file COPYING.LIB
;
\r
+ * License along with
SimGrid in the file LICENSE-LGPL-2.1
;
\r
* if not, write to the Free Software Foundation, Inc.,
\r
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
\r
* if not, write to the Free Software Foundation, Inc.,
\r
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
\r
- */
\r
-
\r
+ */
\r
+
\r
#ifndef UCONTEXT_H
\r
#define UCONTEXT_H
\r
#ifndef UCONTEXT_H
\r
#define UCONTEXT_H
\r
-
\r
+
\r
#include <windows.h>
\r
#include <windows.h>
\r
-
\r
-typedef struct __stack {
\r
- void *ss_sp;
\r
- size_t ss_size;
\r
- int ss_flags;
\r
+ typedef struct __stack {
\r
+ void *ss_sp;
\r
+ size_t ss_size;
\r
+ int ss_flags;
\r
} stack_t;
\r
} stack_t;
\r
-
\r
typedef CONTEXT mcontext_t;
\r
typedef unsigned long __sigset_t;
\r
typedef CONTEXT mcontext_t;
\r
typedef unsigned long __sigset_t;
\r
-
\r
typedef struct __ucontext {
\r
typedef struct __ucontext {
\r
-
unsigned long int
uc_flags;
\r
-
struct __ucontext
*uc_link;
\r
-
stack_t
uc_stack;
\r
-
mcontext_t
uc_mcontext;
\r
-
__sigset_t
uc_sigmask;
\r
+
unsigned long int
uc_flags;
\r
+
struct __ucontext
*uc_link;
\r
+
stack_t
uc_stack;
\r
+
mcontext_t
uc_mcontext;
\r
+
__sigset_t
uc_sigmask;
\r
} ucontext_t;
\r
} ucontext_t;
\r
-
\r
-
\r
-int getcontext(ucontext_t *ucp);
\r
-int setcontext(const ucontext_t *ucp);
\r
+int getcontext(ucontext_t * ucp);
\r
+int setcontext(const ucontext_t * ucp);
\r
int makecontext(ucontext_t *, void (*)(), int, ...);
\r
int swapcontext(ucontext_t *, const ucontext_t *);
\r
\r
int makecontext(ucontext_t *, void (*)(), int, ...);
\r
int swapcontext(ucontext_t *, const ucontext_t *);
\r
\r
-#endif /* UCONTEXT_H */
\r
+#endif
/* UCONTEXT_H */
\r