System Services Guide
  Search only this book
Download this book in PDF

Index

Symbols

/dev/zero, mapping148

A

address space of a process142, 154
advisory locking29
asynchronous I/O
.....behavior163
.....endpoint service193
.....guaranteeing buffer state163
.....listen for network connection197
.....making connection request197
.....notification of data arrival194
.....opening a file198
.....using aio_result_t structure163
.....waiting for completion182
atomic updates to semaphores69

B

blocking mode
.....defined172
.....finite time quantum168
.....opening a FIFO188
.....priority inversion172
.....time-sharing process161
.....using the read() function188
bounded164
brk(2)157

C

chmod(1)43
class
.....definition167
.....priority queue170
.....scheduling algorithm169
.....scheduling priorities167
connectionless-mode
.....asynchronous network service193
.....definition192
connection-mode
.....asynchronous network service196
.....asynchronously connecting196
.....definition192
.....using asynchronous connection196
context switch
.....preempting a process171
control
.....message queue, msgctl()56
.....semaphore set70
.....semaphore, semctl()74
.....shared memory segment, shmctl()94
creat(2)29, 30
creation flags, IPC50 to 51

D

dispatch
.....priorities168
dispatch latency164
.....under realtime164
dispatch table
.....configuring177
.....kernel171
dup(2)10

E

error handling2
exec(2)7

F

F_GETLK39
fcntl(2)32, 33, 34, 39, 40, 42
FIFO
.....using as byte stream189
fifo10
file and record locking21 to 22, 27 to 45
file descriptor
.....passing to another process198
.....transferring198
file system
.....contiguous163
.....opening dynamically198
.....using pipes188
files
.....lock21 to 22
.....locking,Seelocking
.....memory-mapped,See mapped files
fork(2)8 to 10
fsync(2)143
functions
.....advanced I/O3
.....basic I/O2
.....error handling2
.....IPC47 to 105
.....list file system control11
.....list IPC10
......list memory management11
......signals14 to 19
......terminal I/O4
......user process control5
......user processes1, 10

G

get
......message queue, msgget()54
......semaphore, semget()72
......shared memory segment,shmget()92
GETALL75
GETNCNT75
GETPID75
GETVAL75
GETZCNT75

I

I/O,Seeasynchronous I/O, orsynchronous I/O
init(1M), scheduler properties137
Interprocess Communication (IPC)
......administering191
......creating pipes188
......memory mapped files190
......using fileless memory mapping190
......using memory mapping191
......using messages189
......using named pipes188
......using pipes187
......using semaphores189
......using shared memory190
......using the open() call188
IPC (interprocess communication)10, 22 to 23, 47 to 105
......creation flags50 to 51
......functions50 to 51
......message header53
......message queue52
......messages51 to 67
......permissions48 to 50
......semaphore set70
.....semaphores68 to 88
.....shared memory89 to 105
IPC_NOWAIT84
IPC_RMID57, 75, 95
IPC_SET57, 75, 95
IPC_STAT57, 75, 95

K

kernel
.....class independent169
.....context switch171
.....dispatch table171
.....preempting current process171
.....queue163

L

lockf(3C)32, 34, 35, 37, 40, 42
locking
.....advisory29, 45
.....F_GETLK39
.....file and record27 to 45
.....finding locks39
.....mandatory30, 42 to 44
.....memory in realtime180
.....mmap(2)31
.....opening a file for30
.....read29, 30, 35
.....record32, 35, 36
.....removing35 to 39
.....setting35 to 39
.....supported file systems27
.....testing locks39
.....with fcntl(2)32 to 34, 39
.....with lockf(3C)32, 34
.....write29, 30, 35
ls(1)44
lseek(2)34

M

mandatory locking30, 42
mapped files144 to 150
.....private145
......shared145
memory
......locking180
......locking a page180
......locking all pages181
......number of locked pages180
......sticky locks181
......unlocking a page181
memory management24 to 25, 141 to 157
......address spaces142
......address-space layout154
......coherence143
......concepts141
......functions144
......heterogeneity143
......mapping141
......mincore(2)151
......mlock(3C)151 to 152
......mlockall(3C)152 to 153
......mmap(2)144 to 150
......mprotect(2)154
......msync(3C)153
......munmap(2)150
......networking143
......pagesize154
......virtual memory141
memory-mapped files,Seemapped files
message queue52
message, header53
messages10, 47, 51 to 67
mincore(2)151
mlock(3C)151 to 152
mlockall(3C)152 to 153
mmap(2)31, 144 to 150
mprotect(2)154
msgctl()56
msgget()51, 54
msgrcv()61
msgsnd()61
msqid54
msync(3C)153
munmap(2)150

N

named pipe
.....defined188
.....FIFO186
.....using188
named pipes, limitations47
network
.....asynchronous connection192
.....asynchronous service193
.....asynchronous transfers194
.....asynchronous use193
.....connectionless-mode service192
.....connection-mode service192
.....programming models forrealtime193
.....services under realtime192
.....synchronous use193
.....using STREAMSasynchronously192
.....using Transport-Level Interface(TLI)192
nice(1)137
nice(2)137
non-blocking mode
.....configuring endpointconnections196
.....defined192
.....endpoint bound to serviceaddress196
.....network service193
.....polling for notification193
.....service requests193
.....Transport-Level Interface (TLI)192
.....using the t_connect() function196

O

open(2)29, 30
operate on semaphores, semop()83

P

page 0157
pcinfo data structure121
pcparms data structure127
performance, scheduler effect on137
permissions
......IPC48 to 50
pipe
......defined188
......non-blocking read188
pipe(2)10
pipes, limitations47
polling
......for a connection request196
......notification of data193
......using the poll(2) function194
priocntl(1)114 to 119
priocntl(2)120 to 133
priocntlset(2)133 to 136
priority inversion
......defined161
......synchronization172
priority queue
......linear linked list171
process
......defined for realtime159
......dispatching171
......highest priority160
......preemption171
......residence in memory180
......runaway162
......scheduling for realtime168
......setting priorities175
process address space142, 154
process priority
......global109
......real-time112
......setting and retrieving114 to 136
......system112
......time-sharing112
process, spawning5 to 10
processes, cooperating, locking29
procset data structure134

R

read
.....blocking188
read lock29, 30, 35, 40
read(2)29, 30
real-time, scheduler class111
receive message, msgrcv()61
records, locking,Seelocking
removing record locks35 to 39
response time
.....blocking processes161
.....bounds to I/O161
.....degrading160
.....inheriting priority161
.....servicing interrupts161
.....sharing libraries161
.....sticky locks162
reversing operations for semaphores69

S

sbrk(2)157
scheduler23, 107 to 140
.....classes169
.....configuring177
.....effect on performance137
.....priority167
.....realtime164
.....real-time policy111
.....scheduling classes167
.....system policy111
.....time-sharing policy110
.....using system calls173
.....using utilities175
scheduler data structures
.....pcinfo121
.....pcparms127
.....procset134
scheduler, class111
SEM_UNDO84
semaphores10, 68 to 88
.....advantages47
.....arbitrary simultaneous updates69
......atomic updates69
......operations on, semop()83
......reversing operations and SEM_UNDO69
......set structure70
......undo structure69
semctl()74
semget()68, 72
semid72
semop()68, 83
send message, msgsnd()61
SETALL75
setprocset macro134
setting record locks35 to 39
SETVAL75
shared memory10, 47, 89 to 105
SHM_LOCK95
SHM_UNLOCK95
shmctl()94
shmget()89, 92
shmid92
signals12 to 19
......code blocking17
......handlers14, 17
......limitations47
......process control14
......resource limits14
......sending16
......stacks18 to 19
STREAMS10
structure, semaphore set70
synchronization143, 165
......shared memory191
synchronous I/O
......blocking182
......critical timing161

T

time slice, real-time process128
timers
......for interval timing200
......for realtime applications200
.....timestamping200
.....using one-shot201
.....using periodic type201
time-sharing
.....scheduler class110
.....scheduler parameter table111
Transport-Level Interface (TLI)
.....asynchronous endpoint193
.....connectionless-mode192
.....connection-mode192

U

undo structure for semaphores69
updates, atomic for semaphores69
user priority113

V

virtual memory141 to 157
.....See also memory management

W

write lock29, 30, 35
write(2)29, 30

Z

zero(7)148