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

Use pdfork support where supported #13

Closed
mathstuf opened this issue Apr 28, 2017 · 5 comments
Closed

Use pdfork support where supported #13

mathstuf opened this issue Apr 28, 2017 · 5 comments

Comments

@mathstuf
Copy link
Contributor

mathstuf commented Apr 28, 2017

Would it be possible to use procdesc to support #4? This would drop the need to register a signal handler.

FreeBSD manpages:

@mathstuf
Copy link
Contributor Author

Heh, pdwait4 is not implemented yet it seems. I suppose since we need poll anyways, wait4 could be used instead with the pid directly.

@alexcrichton
Copy link
Owner

Yeah unless there's a concrete technical reason that's compelling to do this, I'd probably avoid it.

@mathstuf
Copy link
Contributor Author

Well, it'd be with the goal of getting #4 supportable on at least a few platforms. I don't know what to do about Linux; it seems that there are lots wanting a pdfork or forkfd syscall, but I haven't seen any progress anywhere on actually making it happen.

@alexcrichton
Copy link
Owner

Something like #4 is probably best done with tokio-process, not w/ just this crate in general

@mathstuf
Copy link
Contributor Author

Ok, that sounds reasonable. Closing this.

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

No branches or pull requests

2 participants