aboutsummaryrefslogtreecommitdiffstats
path: root/sandbox-go/src/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox-go/src/main.go')
-rw-r--r--sandbox-go/src/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox-go/src/main.go b/sandbox-go/src/main.go
index a881e3a..0a40368 100644
--- a/sandbox-go/src/main.go
+++ b/sandbox-go/src/main.go
@@ -54,7 +54,7 @@ func cleanup() {
}
func main() {
- runtime.GOMAXPROCS(3)
+ runtime.GOMAXPROCS(8)
dec := json.NewDecoder(os.Stdin)
var plan plan
if err := dec.Decode(&plan); err != nil {
@@ -85,10 +85,10 @@ func main() {
if err := syscall.Pipe2(stdin_fd[:], 0); err != nil {
poePanic(err, "pipe2 failed")
}
- if err := syscall.Pipe2(stdout_fd[:], syscall.O_DIRECT|syscall.O_NONBLOCK); err != nil {
+ if err := syscall.Pipe2(stdout_fd[:], syscall.O_DIRECT); err != nil {
poePanic(err, "pipe2 failed")
}
- if err := syscall.Pipe2(stderr_fd[:], syscall.O_DIRECT|syscall.O_NONBLOCK); err != nil {
+ if err := syscall.Pipe2(stderr_fd[:], syscall.O_DIRECT); err != nil {
poePanic(err, "pipe2 failed")
}