From 6294bcf4f406c146ad7e3cb7536552861e05903b Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Sun, 15 Nov 2020 13:40:53 -0600 Subject: help --- P3/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/P3/server.c b/P3/server.c index a037f2a..4c5fd20 100644 --- a/P3/server.c +++ b/P3/server.c @@ -176,7 +176,7 @@ int main(int argc, char **argv) { return -1; } // Initialize cache (extra credit B) - + mkdir(cache, 0666); // Start the server init(port); // Create dispatcher and worker threads (all threads should be detachable) @@ -200,6 +200,7 @@ int main(int argc, char **argv) { fclose(logfile); // Remove cache (extra credit B) + printf("All threads have been successfully killed and cache has successfully been cleared.\nExiting now.\n"); return 0; } -- cgit v1.2.3