0.7.0 — repin the C library, whose locks now exclude and whose kill now reaches - #13
Merged
Conversation
… now reaches openkal-musl 0.11.0, which consumes openkal 0.10.⚠️ ⚠️ TWO OF THE THINGS THIS REPIN CARRIES WERE RECORDED ONE RELEASE AGO AS NOT FIXABLE, and a C++ consumer reaches both through this package and through nothing else. `fcntl(F_SETLK)' took no lock: two programs held one exclusive lock and neither could find out. It excludes now, and the holder is the open FILE --- so a second open file of one name is refused, where the older process-held form would grant it and a library that opened one file twice would destroy its own lock. Anything under a C++ program that locks a file --- a database, a state file, a single-instance guard --- was unprotected and is not now. `kill' upon a program started by `fork' + `execve' reached the copy that waits; the caller was told the program died while it ran to completion. It reaches the program now. And `std::thread::hardware_concurrency()' answered 1 SILENTLY, so a C++ program sizing a pool of workers got one worker and no error. `std::filesystem::space' had nothing beneath it.⚠️ THE VERSION LINE IS THE WHOLE OF WHAT A C++ CONSUMER CAN HAVE, which is what the previous release recorded: a program naming `openkal-musl' itself as well gets neither version. One line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the openkal 0.10 move: mcpplibs/openkal#25. Repins to openkal-musl 0.11.0.
fcntl(F_SETLK)killonfork+execvehardware_concurrency()std::filesystem::spaceopenkal-muslitself as well gets neither version. One line.