Skip to content

Commit 37fba93

Browse files
committed
Split long line for clarify.
1 parent 5cea838 commit 37fba93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/truffle/truffle/cext.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,10 @@ def rb_thread_call_without_gvl(function, data1, unblock, data2)
16401640
}
16411641
end
16421642

1643-
Truffle.invoke_primitive(:call_without_c_mutex, ->() { Thread.current.unblock unblocker, ->(){ function.call(data1) } }, [])
1643+
Truffle.invoke_primitive( :call_without_c_mutex,
1644+
-> { Thread.current.unblock(
1645+
unblocker,
1646+
-> { function.call(data1) }) }, [])
16441647
end
16451648

16461649
def rb_iterate(iteration, iterated_object, callback, callback_arg)

0 commit comments

Comments
 (0)