diff options
author | 2021-12-30 22:08:14 -0800 | |
---|---|---|
committer | 2021-12-30 22:08:14 -0800 | |
commit | a8b7b2a6b9ad3e08047474905d9e333c0eeac072 (patch) | |
tree | f854f90f0349d13d1e57f36bb8f689d21dc0a4fe /src/io/io_linux.zig | |
parent | 111bef7f06368cfef2da09d60dc449c8eea17d8e (diff) | |
download | bun-a8b7b2a6b9ad3e08047474905d9e333c0eeac072.tar.gz bun-a8b7b2a6b9ad3e08047474905d9e333c0eeac072.tar.zst bun-a8b7b2a6b9ad3e08047474905d9e333c0eeac072.zip |
Update io_linux.zig
Diffstat (limited to 'src/io/io_linux.zig')
-rw-r--r-- | src/io/io_linux.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/io_linux.zig b/src/io/io_linux.zig index 7338d6358..dd1c6d070 100644 --- a/src/io/io_linux.zig +++ b/src/io/io_linux.zig @@ -134,7 +134,7 @@ pub fn run_for_ns(self: *IO, nanoseconds: u63) !void { break :blk self.ring.get_sqe() catch unreachable; }; // Submit an absolute timeout that will be canceled if any other SQE completes first: - linux.io_uring_prep_timeout(timeout_sqe, &timeout_ts, 1, os.IORING_TIMEOUT_ABS); + linux.io_uring_prep_timeout(timeout_sqe, &timeout_ts, linux.IORING_TIMEOUT_ABS); timeout_sqe.user_data = 0; timeouts += 1; // The amount of time this call will block is bounded by the timeout we just submitted: |