diff options
author | Samuel Williams <[email protected]> | 2025-05-13 19:02:03 +0900 |
---|---|---|
committer | <[email protected]> | 2025-05-13 19:02:03 +0900 |
commit | 425fa0aeb5ced20c03b2d5edb7a409666363ea8f () | |
tree | 703d21309b8cb8a6b695cd1e78b8aabdca90efc7 /include | |
parent | a6435befa76c2ae0525147f934bd9cd1914ffb8a (diff) |
Make `waiting_fd` behaviour per-IO. (#13127)
- `rb_thread_fd_close` is deprecated and now a no-op. - IO operations (including close) no longer take a vm-wide lock.
Notes: Merged-By: ioquatix <[email protected]>
-rw-r--r-- | include/ruby/internal/intern/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -61,10 +61,10 @@ int rb_thread_wait_fd(int fd); int rb_thread_fd_writable(int fd); /** - * Notifies a closing of a file descriptor to other threads. Multiple threads - * can wait for the given file descriptor at once. If such file descriptor is - * closed, threads need to start propagating their exceptions. This is the API - * to kick that process. * * @param[in] fd A file descriptor. * @note This function blocks until all the threads waiting for such fd |