-
Hello,
There is a tiny problem with JRuby when dealing with a `Fiber` and a `Thread` object. For instance, with this code:
``` ruby
thread = Thread.current
Fiber.new {
thread == Thread.current
}.…
-
**Is your feature request related to a problem? Please describe.**
Ruby 3.0 will release very soon, the new feature Fiber Scheduler may significant improve Ruby server app.
My friend working on …
-
The following code consistently produces an error, `in 'close': wrong argument type Array (expected fiber) (TypeError)`:
```ruby
require 'libev_scheduler'
Fiber.set_scheduler Libev::Scheduler.new…
-
**Your environment**
* `ruby -v`: ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin20]
* `rdbg -v`: rdbg 1.4.0
**Describe the bug**
Debugging programs with the Async library often…
-
Example (failing spec):
``` rb
it "permits normal handling of errors" do
caught = nil
EM.synchrony do
begin
EM::Synchrony::FiberIterator.new(0..1, 2).each do |num|
…
-
# temporal-ruby Timer timing issue
## Scenario:
- Timer started (30 minutes)
- Sleep started by workflow code (15 minute)
- Worker goes down
- Sleep ends
- Timer fires.
- Worker comes back …
-
Crystal has an great concurrency model based on Fibers and Channels, which can be used to pass messages around.
Fibers are conceptually pretty simple. If you spawn one, it takes off from the main c…
-
Using Faraday with this middleware from multiple threads/fibers results in (very infrequent) crashes with the following:
```
vendor/bundle/ruby/3.1.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/has…
-
It seems like these days detect_stack_use_after_return
breaks fiber switching.
When detect_stack_use_after_return is
enabled, asan malloc's the "fake" stack and
puts the locals there together with…
-
We are using Sidekiq, but with Ruby MRI 2.1.5. Tests don't seem to pass with ruby MRI though.
Does this only work with JRuby or Rubinius?
```
.....FF..F
Failures:
1) Mongoid::Sessions::SessionP…