X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fuzzer.cc;h=5b174b15f847b1df433178d600758e3be93b30f8;hb=db26d1e3370a583f8eef79194c87ba9d2ef92530;hp=9ad61c3c5cddbc96073e85c15e8dd05f46bffadb;hpb=07a0b575fabd521fb3f4a3f1f2483d46349c35dd;p=c11tester.git diff --git a/fuzzer.cc b/fuzzer.cc index 9ad61c3c..5b174b15 100644 --- a/fuzzer.cc +++ b/fuzzer.cc @@ -8,7 +8,7 @@ int Fuzzer::selectWrite(ModelAction *read, SnapVector * rf_set) { return random_index; } -Thread * Fuzzer::selectThread(Node *n, int * threadlist, int numthreads) { +Thread * Fuzzer::selectThread(int * threadlist, int numthreads) { int random_index = random() % numthreads; int thread = threadlist[random_index]; thread_id_t curr_tid = int_to_id(thread);