aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-15 14:00:12 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-15 14:00:12 -0600
commit58a68ec08f35bca04547b8db96d2da7eba479509 (patch)
tree494f8fa7c6f10571a5701997799f92f5f0bd71c8
parentbruh (diff)
downloadcsci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar.gz
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar.bz2
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar.lz
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar.xz
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.tar.zst
csci4061-58a68ec08f35bca04547b8db96d2da7eba479509.zip
help
-rw-r--r--P3/server.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/P3/server.c b/P3/server.c
index 6aa24e6..f99094f 100644
--- a/P3/server.c
+++ b/P3/server.c
@@ -190,9 +190,12 @@ int main(int argc, char **argv) {
pthread_create(&wThreads[i], NULL, worker, NULL); //TODO: Worker arguments
}
// Create dynamic pool manager thread (extra credit A)
- pthread_t pThread;
- pthread_create(pThread, NULL, dynamic_pool_size_update, NULL);
- //Server loop (RUNS FOREVER)
+ /*Commented out for now as it is not needed
+ pthread_t pThread;
+ pthread_create(pThread, NULL, dynamic_pool_size_update, NULL); //TODO: possible arguments
+ */
+
+ //Server loop (RUNS FOREVER)
while (1) {
//TODO: Add something else?