diff options
| author | Koichi Sasada <ko1@atdot.net> | 2019-10-20 14:21:04 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2019-10-20 14:21:04 +0900 |
| commit | a0a3c701816c2fe4ab6e940c6cf5638756ceb6dc (patch) | |
| tree | 65435149e73f1b30308b8c3446af8e3d3a5395ca /spec/ruby/core/array/insert_spec.rb | |
| parent | caac5f777ae288b5982708b8690e712e1cae0cf6 (diff) | |
delegate synchronize method
Delegate MonitorMixin#synchronize body to Monitor#synchronize.
It makes guarantee interrupt safe (because Monitor#synchronize is
written in C). I thought Ruby implementation is also safe, but I
got stuck failure <http://ci.rvm.jp/results/trunk_test@P895/2327639>
so that I introduce this fix to guarantee interrupt safe.
Diffstat (limited to 'spec/ruby/core/array/insert_spec.rb')
0 files changed, 0 insertions, 0 deletions
