Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/signal: No access to the siginfo_t struct #9764

Open
quentinmit opened this issue Feb 3, 2015 · 1 comment
Open

os/signal: No access to the siginfo_t struct #9764

quentinmit opened this issue Feb 3, 2015 · 1 comment
Assignees
Milestone

Comments

@quentinmit
Copy link
Contributor

@quentinmit quentinmit commented Feb 3, 2015

The siginfo_t struct that is delivered with signals contains various useful information about the signal. In some cases, this information is necessary to implement the kernel API of various features. For example, fcntl(F_SETLEASE) requires that your process receive a SIGIO when the lock is broken, and the si_fd field in the siginfo_t struct tells you what filehandle the kernel is notifying your process about.

Please provide an interface that will allow Go code to access the information in the siginfo_t struct.

@rsc
Copy link
Contributor

@rsc rsc commented Apr 10, 2015

We'd need to figure out a nice, portable API to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.