summaryrefslogtreecommitdiff
path: root/cli/msg.fbs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-04-21 18:26:56 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-04-21 21:26:56 -0400
commit1d4b92ac85d8c850270ca859f928404c72c0a49a (patch)
tree2f45ea65a3a3c5879fe7b16cacfd5624d86764cd /cli/msg.fbs
parent9dfebbc9496138efbeedc431068f41662c780f3e (diff)
Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177)
Diffstat (limited to 'cli/msg.fbs')
-rw-r--r--cli/msg.fbs9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli/msg.fbs b/cli/msg.fbs
index 4eca8dcf8..d217fc7ba 100644
--- a/cli/msg.fbs
+++ b/cli/msg.fbs
@@ -21,6 +21,7 @@ union Any {
GlobalTimerStop,
IsTTY,
IsTTYRes,
+ Kill,
Link,
Listen,
ListenRes,
@@ -129,7 +130,8 @@ enum ErrorKind: byte {
InvalidUri,
InvalidSeekMode,
OpNotAvaiable,
- WorkerInitFailed
+ WorkerInitFailed,
+ UnixError,
}
table Cwd {}
@@ -453,6 +455,11 @@ table Close {
rid: uint32;
}
+table Kill {
+ pid: int32;
+ signo: int32;
+}
+
table Shutdown {
rid: uint32;
how: uint;