LATEST UPDATE (ALREADY GRADED A+)
Randomly
How does the CPU scheduled return parent and child values?
exit
Function to terminate process
Orphan
A child whose parent is terminated
Zombie
A child whose terminated, but whose parent is not waiting
False
True or false: If you change child data, it will change the parent data
Posix thread
Most commonly used threads in unix
Muted locks, condition variables, semaphores
List all 3 ways to synchronize threads
One
How many processes can a thread belong to?
IPC
Way to communicate with other processes and share info
FIFO
inter process communication to exchange info between unrelated processes (named pipe)
mknod and mkfifo
List two ways to create a fifo
Pipe
Function to create and open unnamed pipe for reading and writing
Read
, Fd[0]
Write
Fd[1]
True
True or false: pipe must be open to read if you want to write to it, and vice versa
Unix and inet
List the two socket domains
Sockstream, sockdgram, sockraw
List the three socket types
Unlink
What is the term used for deleting a socket file?
Socket
A _________ creates an endpoint for communication
Dup
Duplicates what's in the given slot into the next available slot
Dup2
Returns the first parameter to the index of the second parameter
Fork
Function that is called once and returns twice
Randomly
How does the CPU scheduled return parent and child values?
exit
Function to terminate process
Orphan
A child whose parent is terminated
False
True or false: If you change child data, it will change the parent data
Posix thread
Most commonly used threads in unix