|
DMTCP
|
#include <stdarg.h>#include <vector>#include <list>#include <string>#include <fcntl.h>#include <sys/ioctl.h>#include <sys/syscall.h>#include <sys/procfs.h>#include "jassert.h"#include "jconvert.h"#include "pidwrappers.h"#include "virtualpidtable.h"#include "dmtcp.h"#include "pid.h"#include "util.h"Go to the source code of this file.
Functions | |
| LIB_PRIVATE pid_t | getPidFromEnvVar () |
| LIB_PRIVATE void | dmtcpResetPidPpid () |
| LIB_PRIVATE void | dmtcpResetTid (pid_t tid) |
| void | dmtcp_update_ppid () |
| LIB_PRIVATE pid_t | dmtcp_gettid () |
| pid_t | getpid () |
| pid_t | getppid () |
| pid_t | tcsetpgrp (int fd, pid_t pgrp) |
| pid_t | tcgetpgrp (int fd) |
| pid_t | tcgetsid (int fd) |
| pid_t | getpgrp (void) |
| int | setpgrp (void) |
| pid_t | getpgid (pid_t pid) |
| int | setpgid (pid_t pid, pid_t pgid) |
| pid_t | getsid (pid_t pid) |
| pid_t | setsid (void) |
| int | kill (pid_t pid, int sig) |
| LIB_PRIVATE int | dmtcp_tkill (int tid, int sig) |
| LIB_PRIVATE int | dmtcp_tgkill (int tgid, int tid, int sig) |
| pid_t | wait (__WAIT_STATUS stat_loc) |
| pid_t | waitpid (pid_t pid, int *stat_loc, int options) |
| int | waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) |
| pid_t | wait3 (__WAIT_STATUS status, int options, struct rusage *rusage) |
| pid_t | wait4 (pid_t pid, __WAIT_STATUS status, int options, struct rusage *rusage) |
| long | ptrace (enum __ptrace_request request,...) |
| int | fcntl (int fd, int cmd,...) |
| LIB_PRIVATE pid_t dmtcp_gettid | ( | ) |
Definition at line 129 of file pidwrappers.cpp.
| LIB_PRIVATE int dmtcp_tgkill | ( | int | tgid, |
| int | tid, | ||
| int | sig | ||
| ) |
Definition at line 374 of file pidwrappers.cpp.
| LIB_PRIVATE int dmtcp_tkill | ( | int | tid, |
| int | sig | ||
| ) |
Definition at line 359 of file pidwrappers.cpp.
| void dmtcp_update_ppid | ( | ) |
Definition at line 121 of file pidwrappers.cpp.
| LIB_PRIVATE void dmtcpResetPidPpid | ( | ) |
Definition at line 59 of file pidwrappers.cpp.
| LIB_PRIVATE void dmtcpResetTid | ( | pid_t | tid) |
Definition at line 111 of file pidwrappers.cpp.
| int fcntl | ( | int | fd, |
| int | cmd, | ||
| ... | |||
| ) |
Definition at line 577 of file pidwrappers.cpp.
| pid_t getpgid | ( | pid_t | pid) |
Definition at line 230 of file pidwrappers.cpp.
| pid_t getpgrp | ( | void | ) |
Definition at line 206 of file pidwrappers.cpp.
| pid_t getpid | ( | ) |
Definition at line 143 of file pidwrappers.cpp.
| LIB_PRIVATE pid_t getPidFromEnvVar | ( | ) |
Definition at line 46 of file pidwrappers.cpp.
| pid_t getppid | ( | ) |
Definition at line 151 of file pidwrappers.cpp.
| pid_t getsid | ( | pid_t | pid) |
Definition at line 257 of file pidwrappers.cpp.
| int kill | ( | pid_t | pid, |
| int | sig | ||
| ) |
Definition at line 290 of file pidwrappers.cpp.
| long ptrace | ( | enum __ptrace_request | request, |
| ... | |||
| ) |
Definition at line 538 of file pidwrappers.cpp.
| int setpgid | ( | pid_t | pid, |
| pid_t | pgid | ||
| ) |
Definition at line 243 of file pidwrappers.cpp.
| int setpgrp | ( | void | ) |
Definition at line 218 of file pidwrappers.cpp.
| pid_t setsid | ( | void | ) |
Definition at line 278 of file pidwrappers.cpp.
| pid_t tcgetpgrp | ( | int | fd) |
Definition at line 182 of file pidwrappers.cpp.
| pid_t tcgetsid | ( | int | fd) |
Definition at line 194 of file pidwrappers.cpp.
| pid_t tcsetpgrp | ( | int | fd, |
| pid_t | pgrp | ||
| ) |
Definition at line 167 of file pidwrappers.cpp.
| pid_t wait | ( | __WAIT_STATUS | stat_loc) |
Definition at line 399 of file pidwrappers.cpp.
| pid_t wait3 | ( | __WAIT_STATUS | status, |
| int | options, | ||
| struct rusage * | rusage | ||
| ) |
Definition at line 461 of file pidwrappers.cpp.
| pid_t wait4 | ( | pid_t | pid, |
| __WAIT_STATUS | status, | ||
| int | options, | ||
| struct rusage * | rusage | ||
| ) |
Definition at line 499 of file pidwrappers.cpp.
| int waitid | ( | idtype_t | idtype, |
| id_t | id, | ||
| siginfo_t * | infop, | ||
| int | options | ||
| ) |
Definition at line 409 of file pidwrappers.cpp.
| pid_t waitpid | ( | pid_t | pid, |
| int * | stat_loc, | ||
| int | options | ||
| ) |
Definition at line 404 of file pidwrappers.cpp.
1.8.4