changeset 1030:c0cff89bb044

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 16 Oct 2023 18:19:31 +0900
parents 27e7dad30860
children 2caac93dee00
files src/parallel_execution/DebugWorker/DebugWorker.cbc src/parallel_execution/examples/DPPMC/main.cbc src/parallel_execution/examples/gearsFile/GearsFile_test.cbc
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/DebugWorker/DebugWorker.cbc	Thu Mar 31 14:42:32 2022 +0900
+++ b/src/parallel_execution/DebugWorker/DebugWorker.cbc	Mon Oct 16 18:19:31 2023 +0900
@@ -1,6 +1,7 @@
 #include "../../context.h"
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <time.h>
 #include "../../DebugWorker/state_db.h"
 
--- a/src/parallel_execution/examples/DPPMC/main.cbc	Thu Mar 31 14:42:32 2022 +0900
+++ b/src/parallel_execution/examples/DPPMC/main.cbc	Mon Oct 16 18:19:31 2023 +0900
@@ -58,7 +58,7 @@
     Phils* phils2 = createPhilsImpl(context,2,fork2,fork0); //  phils2
 #endif
 
-    par goto phils0->thinking(__exit);
+    par goto phils0->thinking(exit_code);
     par goto phils1->thinking(exit_code);
     par goto phils2->thinking(exit_code);
 #if 1
--- a/src/parallel_execution/examples/gearsFile/GearsFile_test.cbc	Thu Mar 31 14:42:32 2022 +0900
+++ b/src/parallel_execution/examples/gearsFile/GearsFile_test.cbc	Mon Oct 16 18:19:31 2023 +0900
@@ -1,6 +1,7 @@
 #include "../../../context.h"
 #interface "GearsFile.h"
 #interface "FileData.h"
+#include <stdio.h>
 
 
 __code fileTask1(GearsFile* gearsFile){