[C.CC USERS] How to shutdown TVM-Arduino?
P.H.Welch
P.H.Welch at kent.ac.uk
Mon Nov 2 12:13:49 GMT 2015
Hi Tuyen,
Thank you for your email. The "right" way to terminate an occam
program is to program it to terminate (i.e. that all processes
reach the end of their coding), perhaps in response to an external
signal (e.g. from a keyboard or sensor). If there are complex
networks of processes, this may not be simple to achieve in a way
that avoids deadlock (though that may be acceptable, depending on
the application).
Your question, though, concerns shutting down the TVM on an Arduino
board - so I'm forwarding your question to <users at concurrency.cc>,
which is the best place to seek your answer!
All the best,
Peter.
---------------------------------------------------------------------------
| From: =?UTF-8?B?VHLGsMahbmcgUGhvbmcgVHV5w6pu?= <tptuyen at ctu.edu.vn>
| Date: Thu, 29 Oct 2015 11:06:43 +0100
| Subject: How to shutdown TVM-Arduino?
| To: F.R.M.Barnes at kent.ac.uk, P.H.Welch at kent.ac.uk
Dear Prof. Peter Welch and Prof. Fred Barnes:
My name is Tuyen at Can Tho University in Vietnam. I am working on a
program to measure the performance of TVM on Arduino board. In this
program, serialWrite is used to print the result on terminal (Ubuntu).
After this task, we must manually break (stop) the program by Ctrl+C. Is
there any way to cleanly shutdown TVM?
Thank you so much for your help.
Best regards.
Tuyen
--
Can Tho University, Vietnam
More information about the users
mailing list