DMTCP
|
#include <stdlib.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/syscall.h>
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
#include "constants.h"
#include "util.h"
#include "syscallwrappers.h"
#include "dmtcp.h"
#include "protectedfds.h"
#include "ckptserializer.h"
Go to the source code of this file.
Macros | |
#define | _real_sys_fork() _real_syscall(SYS_fork) |
#define | _real_pipe(a) _real_syscall(SYS_pipe, a) |
#define | _real_waitpid(a, b, c) _real_syscall(SYS_wait4,a,b,c,NULL) |
#define | FORKED_CKPT_FAILED 0 |
#define | FORKED_CKPT_PARENT 1 |
#define | FORKED_CKPT_CHILD 2 |
Functions | |
void | mtcp_writememoryareas (int fd) __attribute__((weak)) |
#define _real_pipe | ( | a) | _real_syscall(SYS_pipe, a) |
Definition at line 50 of file ckptserializer.cpp.
#define _real_sys_fork | ( | ) | _real_syscall(SYS_fork) |
Definition at line 34 of file ckptserializer.cpp.
#define _real_waitpid | ( | a, | |
b, | |||
c | |||
) | _real_syscall(SYS_wait4,a,b,c,NULL) |
Definition at line 52 of file ckptserializer.cpp.
#define FORKED_CKPT_CHILD 2 |
Definition at line 58 of file ckptserializer.cpp.
#define FORKED_CKPT_FAILED 0 |
Definition at line 56 of file ckptserializer.cpp.
#define FORKED_CKPT_PARENT 1 |
Definition at line 57 of file ckptserializer.cpp.
void mtcp_writememoryareas | ( | int | fd) |
Definition at line 79 of file writeckpt.cpp.