Skip to content

Commit 9713715

Browse files
authored
openkal 0.15.0, and the six repositories that move with it (#507)
The specification adds `kal_task_stack`, and the index gains the row that publishes it: the upstream archive as GLOBAL and the byte-identical gitcode release asset as CN, for all three platform tables. The rows for the implementations are registered as each of them is released; this one is the specification, and every other row depends on it.
1 parent 8e4a224 commit 9713715

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@
99

1010
### Added
1111

12+
- **`openkal` 0.15.0 与六个同轮仓库。** 规范新增 `kal_task_stack`:一个执行上下文可以
13+
说出自己所在的栈区间(自问自答、不取句柄),用于替换 C 库移植层此前对
14+
`pthread_getattr_np` 的拒绝。openkal-linux 0.16.0 用 `mincore` 实测映射并以
15+
`mapping_end - RLIMIT_STACK` 与栈下最近映射之上一个 guard gap 两者中较高者为下界;
16+
openkal-macos 0.13.0 走 `_pthread_self` 与两个 `_np` 查询(三个名字同时补进
17+
`port/libSystem.tbd`);openkal-windows 0.11.0 走 `GetCurrentThreadStackLimits`
18+
(声明补进 `src/win32.h` 与 `port/kernel32.def`);openkal-emscripten 0.4.0 走
19+
`emscripten_stack_get_base/_end`;openkal-opensbi 0.8.2 只移动锁定版本;
20+
openkal-musl 0.20.0 让 `pthread_getattr_np` 对**调用线程**给出真实区间、对其它线程
21+
一律 `ENOSYS`,并撤回对应的 `[c-abi-absent]` 行。同时修掉 openkal-linux 在 hosted
22+
形态下从未描述自身 TLS 镜像的潜伏缺陷(上下文线程指针落在存储区错误一端),新增
23+
`tests/conformance_task_tls.cpp` 以非零初值观测该镜像。
24+
1225
- **`compat.libevent` 2.1.13。** Linux、macOS、Windows 分别通过上游 CMake 生成
1326
平台配置头,再由 mcpp 编译 libevent 核心、HTTP/DNS 扩展和对应系统后端;
1427
TLS 可选组件未收录。workspace 成员测试事件分派、缓冲区和 HTTP 对象。

‎pkgs/o/openkal.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ package = {
2222

2323
xpm = {
2424
linux = {
25+
["0.15.0"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.15.0.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.15.0/openkal-0.15.0.tar.gz",
29+
},
30+
sha256 = "84a0d1d97c51279268a7fe2d2de6f0a07b4c4eae8f21cad5ac69392d7f90630f",
31+
},
2532
["0.14.1"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.14.1.tar.gz",
@@ -115,6 +122,13 @@ package = {
115122
},
116123
},
117124
macosx = {
125+
["0.15.0"] = {
126+
url = {
127+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.15.0.tar.gz",
128+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.15.0/openkal-0.15.0.tar.gz",
129+
},
130+
sha256 = "84a0d1d97c51279268a7fe2d2de6f0a07b4c4eae8f21cad5ac69392d7f90630f",
131+
},
118132
["0.14.1"] = {
119133
url = {
120134
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.14.1.tar.gz",
@@ -208,6 +222,13 @@ package = {
208222
},
209223
},
210224
windows = {
225+
["0.15.0"] = {
226+
url = {
227+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.15.0.tar.gz",
228+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.15.0/openkal-0.15.0.tar.gz",
229+
},
230+
sha256 = "84a0d1d97c51279268a7fe2d2de6f0a07b4c4eae8f21cad5ac69392d7f90630f",
231+
},
211232
["0.14.1"] = {
212233
url = {
213234
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.14.1.tar.gz",

0 commit comments

Comments
 (0)