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

Posix.ProcEnv.getpid missing #9

Open
ellerh opened this issue Oct 14, 2014 · 0 comments
Open

Posix.ProcEnv.getpid missing #9

ellerh opened this issue Oct 14, 2014 · 0 comments

Comments

@ellerh
Copy link

ellerh commented Oct 14, 2014

Not stricly required, but getpid would be quite useful.

ellerh added a commit to ellerh/mlworks that referenced this issue Oct 24, 2014
Fixes issue Ravenbrook#9.

* unix/unixos.sml, unix/_unixos.sml: Add structures Process and
ProcEnv which have getpid but miss everything else needed to
be standard compatible.

* unix/platform_specific_exports.sml: Make Posix an alias for UnixOS_.
Of course many things are missing or wrong, but Posix.ProcEnv.getpid
at least works.

* rts/src/OS/Unix/unix.c (unix_getpid): New.
ellerh added a commit to ellerh/mlworks that referenced this issue Jan 3, 2016
Fixes issue Ravenbrook#9.

* unix/unixos.sml, unix/_unixos.sml: Add structures Process and
ProcEnv which have getpid but miss everything else needed to
be standard compatible.

* unix/platform_specific_exports.sml: Make Posix an alias for UnixOS_.
Of course many things are missing or wrong, but Posix.ProcEnv.getpid
at least works.

* rts/src/OS/Unix/unix.c (unix_getpid): New.
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

1 participant