Secret Name   %                                            
HW3: IPC    Grade So Far  %     Q1: There really are 3 separate processes (forked or 3 seprate programs) Q1 (a1): A writes "1" to P1 in shared memory Q1 (a2): A waits until both B, C completes Q1 (b1) B writes  "shared" into shared memory Q1 (b1)  B waits to writes "2" into pos1  *after* A writes "1" into pos1 of memory Q1 (c1) C writes "memory" into shared memory Q1 (c2) C waits to write "3" into pos1 of memroy *after*  B writes "2" into pos1 Code  for Q1 looks consice and correct Q2 (a) how destroyed
ANS:
 shmctl()
 

Q2 (b) utility ANS: ipcrm Q3 (a)  i. spock killed
j. kirk killed
Q3 (b) 2 copies of kirk Q3 (b) 2 copies of spock   RAW Total Total % Date sub mitted Days late   Comments
                        15                     0.94  
Mean   8                                     09/20   0.70  
Max         2 2 2 2 2 2 2 1 2 2 2 2 2   25       8  
Acrobat   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Andy   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/19 0 100  
Artistic Potato   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Bamboo   40                     2 2 2 2 2   10 40 09/20 0 40 Not able to execute (No such Directory while executing)(Please demo it to me once)
Bellhop One   0     0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 09/20 0 0 No Folder for HW3
Birdseye   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Brimstone   0                                 0 0 09/20 0 0  
Broadside   44     0 0 0 0 0 0 0 1 2 2 2 2 2   11 44 09/20 0 44 No Program Files
Buckeye   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Buckshot   0     0 0 0 0 0 0 0 0 0 0 0 0 0   0 0 09/20 0 0 No Folder for HW3
Cactus   68     2 2 2 2 2 2 2 1 2 0 0 0 0   17 68 09/20 0 68 No Answers for Questions
Carbine   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Carpet   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/19 0 100  
Cartwheel   40                     2 2 2 2 2   10 40 09/20 0 40 C99 mode Error
Challenger   92     2 2 2 2 2 2 0 1 2 2 2 2 2   23 92 09/20 0 92 C is not waiting for B to complete
Chandelier   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Checkerboard   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Checkmate   96     2 1 2 2 2 2 2 1 2 2 2 2 2   24 96 09/20 0 96 A does not terminates once b and c terminates
Coach House   0     0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 09/20 0 0 No Files in HW3 folder
Companion   92     2 2 2 2 2 2 2 1 2 0 2 2 2   23 92 09/20 0 92 Nothing is mentioned about ipcrm command
Curbside   0                                 0 0 09/20 0 0  
Driftwood   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/19 0 100  
Echo   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/15 0 100  
Firelord   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Hudson   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Lightfoot   92     2 2 2 2 2 2 0 1 2 2 2 2 2   23 92 09/20 0 92 C does not wait,if A is executed 1st then c then B 
Magic   60     2 2 2 2 2 2 2 1 0 0 0 0 0   15 60 09/17 0 60 No Answers for Questions
Peninsula   32     0 0 0 0 0 0 0 0 0 2 2 2 2   8 32 09/19 0 32 If I run Process A then Process B,no instructions not able to figure out which process is waiting and which is completed
Pincushion   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/19 0 100  
Playground   0                                 0 0 09/20 0 0  
Pork Chop   60     2 2 0 0 0 0 0 1 2 2 2 2 2   15 60 09/20 0 60 Seg Fault when I run ./client1
Professor   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Punch Bowl   0     0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 09/20 0 0 No Folder for HW3
Ridgeline   92     2 2 2 2 2 2 0 1 2 2 2 2 2   23 92 09/18 0 92 run 1st process a then c then b ,c should wait b to complete
Ringside   92     2 2 2 2 2 2 2 1 0 2 2 2 2   23 92 09/20 0 92 Nothing is mentioned about shmctl command
Sandstone   0     0 0 0 0 0 0 0 0 0 0 0 0 0   0 0 09/20 0 0 No Folder for HW3
Shotgun   60     2 2 2 2 2 2 2 1 0 0 0 0 0 0 15 60 09/20 0 60 No Answers for Questions
Skymaster   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Storm King   52     2 2 0 0 0 0 0 1 0 2 2 2 2   13 52 09/20 0 52 Nothing is mentioned about shmctl command and compilation error while running client
Sylvester   92     2 2 2 2 2 2 2 1 2 0 2 2 2   23 92 09/20 0 92 Nothing Mentioned About ipcrm
Tower   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100  
Volcano   60     2 2 0 0 0 0 0 1 2 2 2 2 2   15 60 09/19 0 60 Seg Fault when I run ./progC or ./procB
Windstone   100     2 2 2 2 2 2 2 1 2 2 2 2 2   25 100 09/20 0 100