X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/06282fd37814c4a9d53bca089b048709b368f5b3..869c0cc91d8f6b2bb80026616372d16450b64d9f:/lock_tester.cc?ds=sidebyside diff --git a/lock_tester.cc b/lock_tester.cc index 58e691f..a546e09 100644 --- a/lock_tester.cc +++ b/lock_tester.cc @@ -5,9 +5,6 @@ #include "lock_client.h" #include #include -#include "handle.h" - -char log_thread_prefix = 'c'; // must be >= 2 const int nt = 6; //XXX: lab1's rpc handlers are blocking. Since rpcs uses a thread pool of 10 threads, we cannot test more than 10 blocking rpc. @@ -115,6 +112,7 @@ static void test5(int i) { int main(int argc, char *argv[]) { + global = new t4_state('c'); thread th[nt]; int test = 0; @@ -183,9 +181,4 @@ main(int argc, char *argv[]) for (int i = 0; i < nt; i++) delete lc[i]; - - handle::shutdown(); - poll_mgr::shared_mgr.shutdown(); - - LOG_NONMEMBER << argv[0] << ": clean-up complete"; }