mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 20:39:06 +00:00
Add ErrProcessDone error
This is used in upstream Go's `os` package now.
This commit is contained in:
committed by
Ron Evans
parent
2365c7cfec
commit
c2f437e0b7
+7
-1
@@ -1,6 +1,9 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import "syscall"
|
import (
|
||||||
|
"errors"
|
||||||
|
"syscall"
|
||||||
|
)
|
||||||
|
|
||||||
type Signal interface {
|
type Signal interface {
|
||||||
String() string
|
String() string
|
||||||
@@ -24,6 +27,9 @@ type ProcAttr struct {
|
|||||||
Sys *syscall.SysProcAttr
|
Sys *syscall.SysProcAttr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ErrProcessDone indicates a Process has finished.
|
||||||
|
var ErrProcessDone = errors.New("os: process already finished")
|
||||||
|
|
||||||
type ProcessState struct {
|
type ProcessState struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user