@ai-ecoverse/slicc-kernel 1.195.39 → 1.195.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/async-process.js +1 -1
- package/dist/cloudflare-sources.js +1 -1
- package/dist/cloudflare.js +14 -2
- package/dist/cloudflare.js.map +2 -2
- package/dist/kernel-worker.js +14 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +14 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +1 -1
- package/dist/testing.js.map +2 -2
- package/dist/types/kernel/test-hooks.d.ts +1 -0
- package/package.json +1 -1
package/dist/kernel-worker.js
CHANGED
|
@@ -9446,7 +9446,7 @@ function satisfies(version, range2) {
|
|
|
9446
9446
|
}
|
|
9447
9447
|
|
|
9448
9448
|
// src/version.ts
|
|
9449
|
-
var KERNEL_VERSION = true ? "1.195.
|
|
9449
|
+
var KERNEL_VERSION = true ? "1.195.40" : "0.0.0-dev";
|
|
9450
9450
|
var OS_RELEASE = "6.0.0-slicc";
|
|
9451
9451
|
function procVersion() {
|
|
9452
9452
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -31365,7 +31365,19 @@ var WasmProcess = class _WasmProcess {
|
|
|
31365
31365
|
}
|
|
31366
31366
|
async syscall(req, cancelled, block, preparedSpawn) {
|
|
31367
31367
|
const hook = testSyscallHook();
|
|
31368
|
-
if (hook)
|
|
31368
|
+
if (hook) {
|
|
31369
|
+
const clockBlock = block;
|
|
31370
|
+
await hook({
|
|
31371
|
+
pid: this.pid,
|
|
31372
|
+
op: req.op,
|
|
31373
|
+
onBlock: (notify) => {
|
|
31374
|
+
block = () => {
|
|
31375
|
+
clockBlock?.();
|
|
31376
|
+
notify();
|
|
31377
|
+
};
|
|
31378
|
+
}
|
|
31379
|
+
});
|
|
31380
|
+
}
|
|
31369
31381
|
this.options.onSyscall?.(req);
|
|
31370
31382
|
this.calls += 1;
|
|
31371
31383
|
const started = performance.now();
|