Skip to content

Go programs don't respond to SIGTSTP (ctl+Z) #776

@hoisie

Description

@hoisie
What steps will reproduce the problem?
Run a simple program that sleeps:

package main

import "time"

func main() {
        time.Sleep(100 * 1e9)
}


2. Either type Ctl+Z, or send the process a signal 'kill -s SIGTSTP pid'

What is the expected output? What do you see instead?
Expect to stop, instead it keeps running.

What is your $GOOS?  $GOARCH?
Linux/amd64

Which revision are you using?  (hg identify)
17ded5ad443b+ release.2010-05-04/release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions