summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2024-11-06 22:19:40 +1300
committerGitHub <noreply@github.com>2024-11-06 22:19:40 +1300
commit3b9896acfcaf992ac233578ca8ec5bb69978de4a (patch)
tree38f0bd3b5bcfcd139cc7574467a44a6262027b2c /test
parent74834fd7b196a4f15f7778131c0631fd6e6e3fb3 (diff)
Revert "Introduce Fiber Scheduler `blocking_region` hook. (#11963)" (#12013)
This reverts some of commit 87fb44dff6409a19d12052cf0fc07ba80a4c45ac. We will rename and propose a slightly different interface.
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'test')
-rw-r--r--test/fiber/scheduler.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb
index 91fba0476e..e6a8256232 100644
--- a/test/fiber/scheduler.rb
+++ b/test/fiber/scheduler.rb
@@ -309,10 +309,6 @@ class Scheduler
Addrinfo.getaddrinfo(hostname, nil).map(&:ip_address).uniq
end.value
end
-
- def blocking_region(work)
- Thread.new(&work).join
- end
end
# This scheduler class implements `io_read` and `io_write` hooks which require