summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-10 15:37:05 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-03-12 19:25:57 -0400
commit58cc69f672f91841984fc4e1e9bcfb1a75362677 (patch)
treea3e50ff11dfe8348c6574eeedcd2577e3690b440 /src/msg.fbs
parent9691d7b53bea5a2656ec47e8437fac1f527b3cce (diff)
Make timers act like normal ops
This is in preperation for core integration.
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index 4d54b185e..279264a45 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -16,6 +16,9 @@ union Any {
FetchRes,
FormatError,
FormatErrorRes,
+ GlobalTimer,
+ GlobalTimerRes,
+ GlobalTimerStop,
IsTTY,
IsTTYRes,
Listen,
@@ -55,7 +58,6 @@ union Any {
RunStatusRes,
Seek,
SetEnv,
- SetTimeout,
Shutdown,
Start,
StartRes,
@@ -210,10 +212,14 @@ table Chdir {
directory: string;
}
-table SetTimeout {
+table GlobalTimer {
timeout: int;
}
+table GlobalTimerRes { }
+
+table GlobalTimerStop { }
+
table Exit {
code: int;
}