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

Proposal: move lib/util to lib/os/process #9

Open
puellanivis opened this issue Apr 18, 2019 · 0 comments
Open

Proposal: move lib/util to lib/os/process #9

puellanivis opened this issue Apr 18, 2019 · 0 comments

Comments

@puellanivis
Copy link
Owner

The package name “utils” is devoid of specific meaning or purpose. It has long been known that this is a bad idea, and well argued.

However, the current lib/util provides a relatively concise group of concepts around handling process lifetimes, and can be packaged up and moved to a meaningful package name:

  • AtExit/Exit functionality.
  • a process-level Context, HangupChannel support, as well as Shutdown (now Quit)
  • Version and versioning in general
    • Change versioning to use a Semver string (which build systems could then inject).
    • Remove embedded BUILD in favor of passing a Buildstamp into package.
  • Collecting all this together into a convenient Init function.
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