You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/01/18 00:11:53 UTC

[GitHub] [incubator-teaclave] ya0guang commented on a change in pull request #600: Add watchdog functionalities

ya0guang commented on a change in pull request #600:
URL: https://github.com/apache/incubator-teaclave/pull/600#discussion_r786340410



##########
File path: services/execution/enclave/src/service.rs
##########
@@ -61,47 +66,95 @@ impl TeaclaveExecutionService {
             worker: Arc::new(Worker::default()),
             scheduler_client,
             fusion_base: fusion_base.as_ref().to_owned(),
+            id: Uuid::new_v4(),
+            status: ExecutorStatus::Idle,
         })
     }
 
     pub(crate) fn start(&mut self) -> Result<()> {
+        let (tx, rx) = mpsc::channel();
+        let mut current_task = Arc::new(None);

Review comment:
       type annot




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org