36 #include <sys/types.h>
53 static int fd(std::istream *s);
54 static int fd(std::ostream *s);
55 static int fd(std::ostream &s) {
return fd(&s);}
56 static int fd(std::istream &s) {
return fd(&s);}
204 const std::string
name(
void)
const;
289 #if defined IS_BLUEGENE_P || defined IS_BLUEGENE_Q
296 #if defined __APPLE__ && HAVE_MACH_MACH_H
342 #if defined IS_BLUEGENE_P || defined IS_BLUEGENE_Q
346 #if defined __APPLE__ && HAVE_MACH_MACH_H
static int fd(std::istream &s)
Definition: processes.h:56
const Name EBADF_name
Definition: processes.h:95
Definition: processes.h:303
const Name SIGUSR1_name
Definition: processes.h:77
void execute(SLIInterpreter *) const
Definition: processes.cc:542
void init(SLIInterpreter *)
Initialise the module.
Definition: processes.cc:164
const Name ENODEV_name
Definition: processes.h:111
const Name ESRCH_name
Definition: processes.h:127
const Name SIGQUIT_name
Definition: processes.h:74
void execute(SLIInterpreter *) const
Definition: processes.cc:572
CtermidFunction ctermidfunction
Definition: processes.h:351
const Name ERANGE_name
Definition: processes.h:124
GetPPIDFunction getppidfunction
Definition: processes.h:338
GetPGRPFunction getpgrpfunction
Definition: processes.h:339
void execute(SLIInterpreter *) const
Definition: processes.cc:486
const Name ENOTDIR_name
Definition: processes.h:118
const Name SIGFPE_name
Definition: processes.h:68
Definition: processes.h:268
Definition: processes.h:45
Processes(void)
Definition: processes.h:131
const Name ENOEXEC_name
Definition: processes.h:113
const Name EACCES_name
Definition: processes.h:93
const Name SIGUSR2_name
Definition: processes.h:78
Definition: processes.h:253
Dup2_os_isFunction dup2_os_isfunction
Definition: processes.h:335
WaitPIDFunction waitPIDfunction
Definition: processes.h:329
const Name EIO_name
Definition: processes.h:105
const Name SIGTERM_name
Definition: processes.h:76
void execute(SLIInterpreter *) const
Definition: processes.cc:807
AvailableFunction availablefunction
Definition: processes.h:336
Definition: processes.h:243
const Name SIGKILL_name
Definition: processes.h:72
const Name EISDIR_name
Definition: processes.h:106
Definition: processes.h:290
Definition: slifunction.h:35
Definition: processes.h:248
static pid_t children_group
Definition: processes.h:58
Dup2_is_isFunction dup2_is_isfunction
Definition: processes.h:332
Represent strings by ints to facilitate fast comparison.
Definition: name.h:53
const Name SIGTSTP_name
Definition: processes.h:83
Definition: processes.h:258
const Name EFAULT_name
Definition: processes.h:101
static int fd(std::ostream &s)
Definition: processes.h:55
Isatty_isFunction isatty_isfunction
Definition: processes.h:353
PipeFunction pipefunction
Definition: processes.h:331
const Name EMLINK_name
Definition: processes.h:108
Isatty_osFunction isatty_osfunction
Definition: processes.h:352
SetNonblockFunction setnonblockfunction
Definition: processes.h:350
const Name SIGABRT_name
Definition: processes.h:66
void execute(SLIInterpreter *) const
Definition: processes.cc:516
const Name SIGSTOP_name
Definition: processes.h:82
Dup2_os_osFunction dup2_os_osfunction
Definition: processes.h:333
Definition: processes.h:223
void execute(SLIInterpreter *) const
Definition: processes.cc:859
MemoryThisjobBgFunction memorythisjobbgfunction
Definition: processes.h:343
void execute(SLIInterpreter *) const
Definition: processes.cc:743
void execute(SLIInterpreter *) const
Definition: processes.cc:712
const Name SIGSEGV_name
Definition: processes.h:75
void execute(SLIInterpreter *) const
Definition: processes.cc:325
Definition: processes.h:218
~Processes(void)
Definition: processes.cc:269
Definition: processes.h:278
Definition: processes.h:273
void execute(SLIInterpreter *) const
Definition: processes.cc:432
const Name SIGCONT_name
Definition: processes.h:81
const Name EINVAL_name
Definition: processes.h:104
Definition: processes.h:313
const Name sys_errno
Definition: processes.h:89
Definition: interpret.h:69
const Name SIGHUP_name
Definition: processes.h:69
const Name EBUSY_name
Definition: processes.h:96
const Name ENOTTY_name
Definition: processes.h:120
Definition: processes.h:318
const Name EPIPE_name
Definition: processes.h:123
Definition: processes.h:228
const std::string commandstring(void) const
Return sli command sequence to be executed for initialisation.
Definition: processes.cc:159
const Name EINTR_name
Definition: processes.h:103
const Name EAGAIN_name
Definition: processes.h:94
const Name SIGTTOU_name
Definition: processes.h:85
Definition: processes.h:233
const Name EFBIG_name
Definition: processes.h:102
void execute(SLIInterpreter *) const
Definition: processes.cc:883
void execute(SLIInterpreter *) const
Definition: processes.cc:697
static const std::string systemerror(SLIInterpreter *)
Definition: processes.cc:106
const Name SIGTTIN_name
Definition: processes.h:84
const Name SIGCHLD_name
Definition: processes.h:80
const Name EPERM_name
Definition: processes.h:122
Definition: processes.h:283
void execute(SLIInterpreter *) const
Definition: processes.cc:776
ForkFunction forkfunction
Definition: processes.h:327
Definition: processes.h:263
GetPIDFunction getpidfunction
Definition: processes.h:337
void execute(SLIInterpreter *) const
Definition: processes.cc:280
Dup2_is_osFunction dup2_is_osfunction
Definition: processes.h:334
const Name EEXIST_name
Definition: processes.h:100
const Name SIGINT_name
Definition: processes.h:71
Definition: processes.h:308
Base class for all SLI Interpreter modules.
Definition: slimodule.h:34
const Name ENOMEM_name
Definition: processes.h:115
const Name ENXIO_name
Definition: processes.h:121
static int fd(std::istream *s)
Definition: processes.cc:120
const Name E2BIG_name
Definition: processes.h:92
const Name EDOM_name
Definition: processes.h:99
const std::string name(void) const
Return name of the module.
Definition: processes.cc:154
const Name ENAMETOOLONG_name
Definition: processes.h:109
Definition: processes.h:297
void execute(SLIInterpreter *) const
Definition: processes.cc:366
void execute(SLIInterpreter *) const
Definition: processes.cc:459
const Name ENOENT_name
Definition: processes.h:112
void execute(SLIInterpreter *) const
Definition: processes.cc:798
Sysexec_aFunction sysexec_afunction
Definition: processes.h:328
const Name SIGILL_name
Definition: processes.h:70
const Name EXDEV_name
Definition: processes.h:128
const Name ENOSPC_name
Definition: processes.h:116
MkfifoFunction mkfifofunction
Definition: processes.h:340
const Name sys_errname
Definition: processes.h:88
void execute(SLIInterpreter *) const
Definition: processes.cc:850
const Name ESPIPE_name
Definition: processes.h:126
const Name ECHILD_name
Definition: processes.h:97
void execute(SLIInterpreter *) const
Definition: processes.cc:598
const Name ENOLCK_name
Definition: processes.h:114
const Name ENFILE_name
Definition: processes.h:110
Definition: processes.h:238
void execute(SLIInterpreter *) const
Definition: processes.cc:728
const Name EROFS_name
Definition: processes.h:125
const Name ENOTEMPTY_name
Definition: processes.h:119
KillFunction killfunction
Definition: processes.h:330
const Name EDEADLK_name
Definition: processes.h:98
MemoryThisjobDarwinFunction memorythisjobdarwinfunction
Definition: processes.h:347
const Name SIGPIPE_name
Definition: processes.h:73
const Name signaldict_name
Definition: processes.h:62
const Name ENOSYS_name
Definition: processes.h:117
const Name SIGALRM_name
Definition: processes.h:67
const Name EMFILE_name
Definition: processes.h:107