lucchetto 0.4.0

easily call a rust function without holding the GVL lock
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
require_relative "./lib/simple"

t = Thread.new do
  puts slow_func_no_lock("hello")
end

1..10.times do
  sleep 0.1
  puts "main thread"
end

t.join