From e1666dd72b8d068c0f48d5d2906b5079a0c80a40 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 26 Sep 2008 17:41:17 +0000 Subject: [PATCH] restored erroneously removed initializations of s & t git-svn-id: svn://anubis/gvsu@171 45c1a28c-8058-47b2-ae61-ca45b979098e --- cs677/pa2/threaded.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cs677/pa2/threaded.cc b/cs677/pa2/threaded.cc index 15e24b1..0bd40b1 100644 --- a/cs677/pa2/threaded.cc +++ b/cs677/pa2/threaded.cc @@ -88,6 +88,8 @@ int main(int argc, char * argv[]) if (file_to_read != 2) usage(argv[0]); + s = &files[0]; + t = &files[1]; pthread_t * threads = new pthread_t[num_threads]; matrix = new int[files[0].size() * files[1].size()]; pthread_barrier_init(&barrier, NULL, num_threads);