Commit 05523c0
committed
Avoid creating a Fiber while loading the gem
* Since creating a Fiber can be quite expensive
and might not work on some platforms (though those are bugs):
https://bugs.ruby-lang.org/issues/20085
https://bugs.ruby-lang.org/issues/21607
* spec/concurrent/atomic/lock_local_var_spec.rb already checks
that the shortcut is correct and matches the reality.1 parent 4eb01b9 commit 05523c0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments