Skip to content

0.7.0 — repin the C library, whose locks now exclude and whose kill now reaches - #13

Merged
Sunrisepeak merged 1 commit into
mainfrom
declarations-0.10
Aug 30, 2026
Merged

0.7.0 — repin the C library, whose locks now exclude and whose kill now reaches#13
Sunrisepeak merged 1 commit into
mainfrom
declarations-0.10

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Part of the openkal 0.10 move: mcpplibs/openkal#25. Repins to openkal-musl 0.11.0.

⚠️⚠️ 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.

before now
fcntl(F_SETLK) two programs held one exclusive lock and neither could find out excludes, and the holder is the open file
kill on fork+execve reached the waiting copy; caller told the program died while it ran to completion reaches the program
hardware_concurrency() 1, silently the real count
std::filesystem::space ENOSYS answered

⚠️ The version line is the whole of what a C++ consumer can have — a program naming openkal-musl itself as well gets neither version. One line.

… 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.
@Sunrisepeak
Sunrisepeak merged commit a2a89ed into main Aug 30, 2026
5 checks passed
@Sunrisepeak
Sunrisepeak deleted the declarations-0.10 branch August 30, 2026 11:30
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

Successfully merging this pull request may close these issues.

1 participant