merging stuff...made need to clean up some stuff...but need to push it somewhere...
[model-checker.git] / threads.cc
index 946b5e4f8a312d7a9d8b814d4be7f8785afc3a04..99297749a800987b48a157570daf0820aeb5715d 100644 (file)
@@ -1,7 +1,4 @@
-#include <stdlib.h>
-
 #include "libthreads.h"
-#include "schedule.h"
 #include "common.h"
 #include "threads.h"
 
@@ -64,13 +61,6 @@ void Thread::complete()
        }
 }
 
-void * Thread::operator new(size_t size) {
-       return userMalloc(size);
-}
-
-void Thread::operator delete(void *ptr) {
-       userFree(ptr);
-}
 
 Thread::Thread(thrd_t *t, void (*func)(), void *a) {
        int ret;