Lichen

Annotated lib/posix/process.py

882:f84970ad4040
2019-01-28 Paul Boddie Test performance with the allocation of opaque blocks containing many instances. This improves performance considerably, but the float instances are never reclaimed. Finding a way to expose the instances as they are issued would make this approach sustainable. float-preallocation
paul@6 1
#!/usr/bin/env python
paul@6 2
paul@6 3
def abort(): pass
paul@6 4
def chroot(path): pass
paul@6 5
def ctermid(): pass
paul@6 6
def execv(path, args): pass
paul@6 7
def execve(path, args, env): pass
paul@6 8
def fork(): pass
paul@6 9
def forkpty(): pass
paul@6 10
def getcwd(): pass
paul@6 11
def getcwdu(): pass
paul@6 12
def getegid(): pass
paul@6 13
def geteuid(): pass
paul@6 14
def getgid(): pass
paul@6 15
def getgroups(): pass
paul@6 16
def getloadavg(): pass
paul@6 17
def getlogin(): pass
paul@6 18
def getpgid(pid): pass
paul@6 19
def getpgrp(): pass
paul@6 20
def getpid(): pass
paul@6 21
def getppid(): pass
paul@6 22
def getresgid(): pass
paul@6 23
def getresuid(): pass
paul@6 24
def getsid(pid): pass
paul@6 25
def getuid(): pass
paul@6 26
def initgroups(username, gid): pass
paul@6 27
def kill(pid, sig): pass
paul@6 28
def killpg(pgid, sig): pass
paul@6 29
def nice(inc): pass
paul@6 30
def popen(command, mode='r', bufsize=None): pass
paul@6 31
def setegid(gid): pass
paul@6 32
def seteuid(uid): pass
paul@6 33
def setgid(gid): pass
paul@6 34
def setgroups(list): pass
paul@6 35
def setpgid(pid, pgrp): pass
paul@6 36
def setpgrp(): pass
paul@6 37
def setregid(rgid, egid): pass
paul@6 38
def setresgid(rgid, egid, sgid): pass
paul@6 39
def setresuid(ruid, euid, suid): pass
paul@6 40
def setreuid(ruid, euid): pass
paul@6 41
def setsid(): pass
paul@6 42
def setuid(uid): pass
paul@6 43
def system(command): pass
paul@6 44
def tcgetpgrp(fd): pass
paul@6 45
def tcsetpgrp(fd, pgid): pass
paul@6 46
def wait(): pass
paul@6 47
def wait3(options): pass
paul@6 48
def wait4(pid, options): pass
paul@6 49
def waitpid(pid, options): pass
paul@6 50
paul@6 51
def WCOREDUMP(status): pass
paul@6 52
def WEXITSTATUS(status): pass
paul@6 53
def WIFCONTINUED(status): pass
paul@6 54
def WIFEXITED(status): pass
paul@6 55
def WIFSIGNALED(status): pass
paul@6 56
def WIFSTOPPED(status): pass
paul@6 57
def WSTOPSIG(status): pass
paul@6 58
def WTERMSIG(status): pass
paul@6 59
paul@6 60
EX_CANTCREAT = 73
paul@6 61
EX_CONFIG = 78
paul@6 62
EX_DATAERR = 65
paul@6 63
EX_IOERR = 74
paul@6 64
EX_NOHOST = 68
paul@6 65
EX_NOINPUT = 66
paul@6 66
EX_NOPERM = 77
paul@6 67
EX_NOUSER = 67
paul@6 68
EX_OK = 0
paul@6 69
EX_OSERR = 71
paul@6 70
EX_OSFILE = 72
paul@6 71
EX_PROTOCOL = 76
paul@6 72
EX_SOFTWARE = 70
paul@6 73
EX_TEMPFAIL = 75
paul@6 74
EX_UNAVAILABLE = 69
paul@6 75
EX_USAGE = 64
paul@6 76
paul@6 77
NGROUPS_MAX = 65536
paul@6 78
paul@6 79
P_WAIT = 0
paul@6 80
P_NOWAIT = P_NOWAITO = 1
paul@6 81
paul@6 82
WCONTINUED = 8
paul@6 83
WNOHANG = 1
paul@6 84
WUNTRACED = 2
paul@6 85
paul@6 86
# vim: tabstop=4 expandtab shiftwidth=4