Fix a bug in memcpy, implement memset, and remove model_thread
[c11tester.git] / threads.cc
index faa49fc5707454bb105b384d1f4482bd418fb711..024f6ea582e12381b8a76e5c8f53972f57ba48c7 100644 (file)
@@ -419,7 +419,7 @@ Thread::Thread(thread_id_t tid) :
        last_action_val(0),
        model_thread(true)
 {
-       memset(&context, 0, sizeof(context));
+       real_memset(&context, 0, sizeof(context));
 }
 
 /**