forked from papagryllos-productions/threading-pizza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
428 lines (288 loc) · 11.9 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
commit d677e7990158f48f3a6a5c5aaf6cb151ecf79a8f
Author: George Papanikolaou <[email protected]>
Date: Thu Nov 15 17:37:00 2012 +0200
removing the sleep from the script (and...)
-adding some comments
commit 5aa3ea8f6605e8d2d936255ddaf6f95832c50208
Author: Gryllos Prokopis <[email protected]>
Date: Thu Nov 15 00:29:47 2012 +0200
getting the coke handling to work
commit ca43f3fa4ed7a2530a6a2d7dda51f49c852e09f3
Author: George Papanikolaou <[email protected]>
Date: Wed Nov 14 20:17:13 2012 +0200
cleaning from cokes and new ignore and makefile
commit 6ccaad0dcd212dfe7291eb24d43a2c2dcbf2f62c
Author: Gryllos Prokopis <[email protected]>
Date: Wed Nov 14 18:34:00 2012 +0200
coca cola handling
-extra process for the coca cola handling added
-turned 0/1 to false/true where needed, just for better optimization
-start_time variable added to the order_t struct
commit 0d2fefde8b5f265434f5efe1761d352e73b94dfc
Author: Gryllos Prokopis <[email protected]>
Date: Tue Nov 13 23:56:05 2012 +0200
nothing new
commit 958d5913102875b28887dde43273ac128463fe98
Merge: eaf252d b49c222
Author: Gryllos Prokopis <[email protected]>
Date: Tue Nov 13 22:25:03 2012 +0200
Merge branch 'master' of github.com:g3orge/projectOS
Conflicts:
pizza_server.c
commit eaf252d1902a4f1ba84cdc921254f97101550c96
Author: Gryllos Prokopis <[email protected]>
Date: Tue Nov 13 17:17:43 2012 +0200
minor changes
commit b49c222dbb1d2f96c24a9e78cac6823a0b3cc8f2
Author: gryllos@ceid <[email protected]>
Date: Tue Nov 13 13:40:38 2012 +0200
elapsed time added in each order
commit a858beb5f2686f9dbc859c71989caca2643e530b
Author: George Papanikolaou <[email protected]>
Date: Mon Nov 12 19:23:57 2012 +0200
set up for coke - now deleting the order when done
need cokehandler function.
commit 6f0302f0a02f7d0dc1c7f03d40e109f427a35417
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 22:34:55 2012 +0200
make learned new kill command
commit e577510ec2d8f95836b328ec0a418cc4ced03940
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 22:22:13 2012 +0200
wtf bug. cook outside of semaphores
commit 66fe111c3e7c8497f3b71dfa4a20633c1db5c30c
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 22:08:56 2012 +0200
changing the way parent waits for children
commit e12717951a881360dc39c5ec9842c5216d851b63
Merge: b1d5af5 d3273d0
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 21:40:08 2012 +0200
Merge branch 'master' and others
Conflicts:
run_tests.sh
commit d3273d074d53dd85352ddcd21bbe8c3fdd93c15a
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 21:11:30 2012 +0200
Logical error fixed , goto label added
commit b1d5af52e5b93b933af63022f8c511d59586b36b
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 21:05:43 2012 +0200
run_tests now checks if server is running
commit f1cee08a24186c1436ea459e0587660fc78a9cd3
Merge: a25d52c 1fe9ecc
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 19:36:21 2012 +0200
Merge branch 'master' of github.com:g3orge/projectOS
commit a25d52cad22d711096bea999c48d643bb85d2abb
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 19:35:21 2012 +0200
minor changes to run_server.sh
commit 1fe9ecc2fc884b68b34cf55d6d8bc62d561d63d8
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 18:45:04 2012 +0200
delete client_sc -- change .gitignore/Makefile
commit 870adc2d3eb123dfc24ff5d9746a764447798402
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 18:42:17 2012 +0200
last fixes in client
-kbhit function added
commit 9d45c6623ee909d43551c83357ad771cd8c92352
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 18:01:03 2012 +0200
run_tests.sh script
commit 96ae5892fb0a9692de419f8c6519ade884bc450a
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 16:22:40 2012 +0200
Minor changes to Makefile
-change client executable from "cl" to "client"
commit 2a19cc7534352c55b88f20164c22c1eb08dd14cd
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 11 16:19:04 2012 +0200
client_sc script added & some extra debugging to the client.c
-details on how to use script includes inside the file
commit 898789fe6603fa577d5ed066b7616d8cbff83b12
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 01:14:47 2012 +0200
fixing zombies
commit befe840b43ee7726484c1fea329452000981a04d
Author: George Papanikolaou <[email protected]>
Date: Sun Nov 11 00:17:25 2012 +0200
_exit instead of exit and minors
commit e29685092e5b1a4045a0166568a257bb81f2d18b
Author: George Papanikolaou <[email protected]>
Date: Sat Nov 10 22:46:42 2012 +0200
semaphores and log() really...
-new function log to log messages
-new semaphore names
-new semaphore "mutex" around shared memory things
---
maybe the counter inside the handler is stucking
commit d05365827c1fab7a6d57890b987a6bf9ec6e86d8
Author: Gryllos Prokopis <[email protected]>
Date: Sat Nov 10 21:16:02 2012 +0200
rand modification
commit 690aa8c0419e40ba6cc09e18c128169c974bc550
Merge: 273bef3 48e96f1
Author: Gryllos Prokopis <[email protected]>
Date: Sat Nov 10 21:10:30 2012 +0200
Merge branch 'master' of github.com:g3orge/projectOS
commit 273bef322fe748e69d4504ff5fe8d8be1cf2c319
Author: Gryllos Prokopis <[email protected]>
Date: Sat Nov 10 21:09:19 2012 +0200
make random order work
commit 48e96f16bbf673e612755589eae4b7d4377ce828
Author: George Papanikolaou <[email protected]>
Date: Sat Nov 10 20:56:17 2012 +0200
Makefile created
commit 711b4cea5e7d5ce8d3d50c6a73c9362a0bfb4376
Author: George Papanikolaou <[email protected]>
Date: Sat Nov 10 19:48:06 2012 +0200
memory etc...
-Splitting to header file
-New shared memory management
commit 8ae6fda3def27b389827c86f0a5c8c49c047bd03
Author: George Papanikolaou <[email protected]>
Date: Fri Nov 9 19:21:13 2012 +0200
make fatal() work with a logfile -- include time.h
commit 335c380cb237938971a4eb3d392db91edcac44c2
Author: George Papanikolaou <[email protected]>
Date: Fri Nov 9 18:34:01 2012 +0200
Real work with cooking and delivering, and...
-Change the path to /tmp file
-assign global necessary counter for signals
-modify the handler to be used with counter and cooking proccess
-modify delivery() for boolean
-set semaphores
-use semaphores
-better pizza sharing
---
We need to fix the shared memory handling
commit 189a9e5ba5a5ba2cc0c8baf51a44601250cca727
Author: George Papanikolaou <[email protected]>
Date: Fri Nov 9 00:30:17 2012 +0200
Starting to implement "real" semaphores and...
-Cook function
-Delivery function
-Basic semaphore stuff
-Picking the right cooker (for the first 10)
-Fixes (to use N_PSISTES etc...)
-Also removed the ec_malloc function
--TODO:
make fatal work with a file (log) so we can see what the childs are
saying and split some declarations to a header file
commit 3130440df96a676da3ee2ccf2da34fbb171a9014
Author: George Papanikolaou <[email protected]>
Date: Thu Nov 8 20:40:59 2012 +0200
Cleaning/final sh.mem pointer/declare semaphore
commit 729c9ca185d05f1281052fcb5637f5f1f75cc319
Merge: debf232 bfaf27b
Author: George Papanikolaou <[email protected]>
Date: Wed Nov 7 21:33:54 2012 +0200
Merge branch 'master' of github.com:g3orge/projectOS
commit bfaf27b958aff92978de1634f26a50d88a8ba658
Author: Gryllos Prokopis <[email protected]>
Date: Wed Nov 7 21:00:07 2012 +0200
finishing client
commit debf232ac89cdfd3c6efdb6a9ec370f5a15e28a6
Author: George Papanikolaou <[email protected]>
Date: Wed Nov 7 20:30:39 2012 +0200
make it work with structs _to amend
commit d720a2959c4a85d7cb43fc8a7805efba52ac2281
Author: George Papanikolaou <[email protected]>
Date: Wed Nov 7 18:17:32 2012 +0200
working connection
commit 4286cec1b9be8c413f20059d81099322f9b04f1c
Author: George Papanikolaou <[email protected]>
Date: Tue Nov 6 18:46:34 2012 +0200
bzero is gone
commit 45b26569e82dedeec7f7b407b6a738470d8e31f6
Author: George Papanikolaou <[email protected]>
Date: Mon Nov 5 18:49:41 2012 +0200
fixing bind
commit 3cf666c171677c4646e2270041a77a6590249f0d
Author: Gryllos Prokopis <[email protected]>
Date: Mon Nov 5 18:17:53 2012 +0200
general modifications to client.c
commit bbaa630f800a03196c64d177e82141ea1f6e787e
Author: Gryllos Prokopis <[email protected]>
Date: Mon Nov 5 00:58:59 2012 +0200
Debuggin client.c:
commit 05a5c9316fbc8e1d2bca1d36c0eacd66419550a8
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 4 22:55:52 2012 +0200
Getting the main core of client program to work
commit 08ee88575094604fb71b0c7b8ac6b884028e5b75
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 4 19:03:33 2012 +0200
Debug client.c
commit ed5ffeb0dcad17981502516ef3b9c7e97d5caffd
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 4 18:44:37 2012 +0200
general modifications
-random_order function created
commit ff5f31582567312b705a6b256e4c9c491e1ec2ba
Author: Gryllos Prokopis <[email protected]>
Date: Sun Nov 4 00:44:39 2012 +0200
Basic structure of Client programm
-auxilary functions created
-argument managment
commit 69b7e5382d1ba29499b7355793e210aeebfeab66
Author: George Papanikolaou <[email protected]>
Date: Fri Nov 2 21:26:45 2012 +0200
cleaning from conflicts
commit 5a2682b7ddaeaaa98c543f0d015094c530166a63
Merge: 1a42b6f 061fe8b
Author: gryllos@ceid <[email protected]>
Date: Fri Nov 2 21:08:07 2012 +0200
Merge branch 'master' of github.com:g3orge/projectOS
Conflicts:
pizza_server.c~
commit 061fe8be2d164e2d764a75974f965afdaa8049f3
Author: George Papanikolaou <[email protected]>
Date: Fri Nov 2 19:32:12 2012 +0200
eliminate gcc warnings, random fixes, cleaning
commit 1a42b6f3ff220b2f4b6c7b71fbb4bf6c2cd02fbe
Author: gryllos@ceid <[email protected]>
Date: Fri Nov 2 13:35:22 2012 +0200
main implementation for client.c
-clients socket connection established
minor changes in pizza.c
-socket address initialised before binding
commit 99ff250c3ffb94397d3b74aaf42b10b7be87ca5f
Author: Gryllos Prokopis <[email protected]>
Date: Fri Nov 2 04:04:17 2012 +0200
including sys/un.h
changing typecasting in order to remove warnings
commit e4eca0f53ee170007a9f64d1436b550c852fdbf0
Author: Gryllos Prokopis <[email protected]>
Date: Fri Nov 2 00:48:30 2012 +0200
share memory managing
socket connenction with client
order in the order_list
pointer to shared memory
commit 44a1250752788292e232da3e3e12b32dd39ff104
Author: George Papanikolaou <[email protected]>
Date: Thu Nov 1 00:15:39 2012 +0200
socket implementation
commit 29da277d87cdf87709e5b2aeaa4ed60d8df7ecc5
Author: George Papanikolaou <[email protected]>
Date: Tue Oct 30 21:08:29 2012 +0200
main implementation
-shared memory created
-shared memory initialized
-basic socket
-added included files
-new shared memory defines
commit a6dd1f280cab1844553a2c819be32a6095727737
Author: George Papanikolaou <[email protected]>
Date: Wed Oct 24 20:11:19 2012 +0300
bool type, order struct, functions structure
commit 16c838c4ea18b70c1bcaf268df256518c41368de
Author: George Papanikolaou <[email protected]>
Date: Wed Oct 24 16:37:40 2012 +0300
Basic Structure
commit a304042a315ba3d14fcc4fd6ab808f31cb0490d6
Author: George Papanikolaou <[email protected]>
Date: Tue Oct 23 13:39:56 2012 -0700
Initial commit