diff options
author | Sergey Nazaryev <sergey@nazaryev.ru> | 2016-05-14 20:38:54 +0000 |
---|---|---|
committer | Sergey Nazaryev <sergey@nazaryev.ru> | 2016-05-14 20:38:54 +0000 |
commit | 4f36da5df51ce984201b56b794f04fea8c8e9e9e (patch) | |
tree | 025b092235327959876cceb13c41abd7f702fc78 | |
parent | b26d56275e4d7e88d1317372c335d2797e3928eb (diff) | |
download | pa3-4f36da5df51ce984201b56b794f04fea8c8e9e9e.zip pa3-4f36da5df51ce984201b56b794f04fea8c8e9e9e.tar.gz pa3-4f36da5df51ce984201b56b794f04fea8c8e9e9e.tar.bz2 |
Strange workaround from old labs
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | child.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ CC = clang all: pa3 pa3: lamport.o bank_robbery.o banking.o pa3.o parent.o child.o ipc.o dist.o - $(CC) -o $@ $^ -L. -lruntime + $(CC) -o $@ $^ -Llib64 -lruntime %.o: %.c $(CC) -c -o $@ $< $(CFLAGS) @@ -10,6 +10,7 @@ void child_phase0( dist_info_t *info, uint8_t id ) { lamport_init( &gl_lamport_time ); + lamport_increase( &gl_lamport_time ); close_redundant_pipes( info, id ); } |