Two methods to implement semaphore on PDP11 Unix V6 machine.
method 1https://groups.google.com/group/chanzhaiming/attach/b75c0fb4dbffbf4b/1fork.c?part=0.1&authuser=0&view=1https://groups.google.com/group/chanzhaiming/attach/b75c0fb4dbffbf4b/1parent.c?part=0.2&authuser=0&view=1https://groups.google.com/group/chanzhaiming/attach/b75c0fb4dbffbf4b/1child.c?part=0.3&authuser=0&view=1
method 2https://groups.google.com/group/chanzhaiming/attach/e11b80e4400dd30/2fork.c?part=0.1&authuser=0&view=1https://groups.google.com/group/chanzhaiming/attach/e11b80e4400dd30/2parent.c?part=0.2&authuser=0&view=1https://groups.google.com/group/chanzhaiming/attach/e11b80e4400dd30/2child.c?part=0.3&authuser=0&view=1