deno/ext/node/ops/os
Daniel Osvaldo R 9b1d8d5f2b
fix(ext/node): os.setPriority and os.getPriority compatibility (#30383)
Closes #30405

Changes in this PR:
- Fixes `os.setPriority()` on Windows.
- Validates the function parameters correctly and constructs
`NodeSystemError` on op call error.
- Allows [parallel/test-os-process-priority.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-os-process-priority.js) to pass.

---------

Signed-off-by: Daniel Osvaldo R <daniel.rahmanto@gmail.com>
2025-08-18 19:07:28 +02:00
..
cpus.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
mod.rs refactor: remove usages of to_string_lossy().to_string() (#30224) 2025-07-28 20:25:58 +00:00
priority.rs fix(ext/node): os.setPriority and os.getPriority compatibility (#30383) 2025-08-18 19:07:28 +02:00