add Tilera version stuff in buildscript and removes some redundant codes to avoid...
[IRC.git] / Robust / src / Runtime / object.c
index 766d2a64470b23f2a26d2b7db8c4ade230f8d666..a935927d8b775701bb7e909564fbfad6bab91282 100644 (file)
@@ -1,6 +1,6 @@
 #include "object.h"
-#ifdef RAW
-#include <raw.h>
+#ifdef MULTICORE
+#include "runtime_arch.h"
 #else
 #include "stdio.h"
 #endif
@@ -74,8 +74,8 @@ int CALL01(___Object______MonitorExit____, struct ___Object___ * ___this___) {
     pthread_cond_broadcast(&objcond);
     pthread_mutex_unlock(&objlock);
   } else {
-#ifdef RAW
-    raw_test_done(-1);
+#ifdef MULTICORE
+    BAMBOO_EXIT(-1);
 #else
     printf("ERROR...UNLOCKING LOCK WE DON'T HAVE\n");
     exit(-1);