Sha256: 8aebc57397f0e52a6636e5977ea462a466905aa0d615e4224d2baf483cac57a1
Contents?: true
Size: 771 Bytes
Versions: 220
Compression:
Stored size: 771 Bytes
Contents
import org.jruby.Ruby; import org.jruby.runtime.load.BasicLibraryService; import java.io.IOException; public class ConcurrentRubyService implements BasicLibraryService { public boolean basicLoad(final Ruby runtime) throws IOException { new com.concurrent_ruby.ext.AtomicReferenceLibrary().load(runtime, false); new com.concurrent_ruby.ext.JavaAtomicBooleanLibrary().load(runtime, false); new com.concurrent_ruby.ext.JavaAtomicFixnumLibrary().load(runtime, false); new com.concurrent_ruby.ext.JavaSemaphoreLibrary().load(runtime, false); new com.concurrent_ruby.ext.SynchronizationLibrary().load(runtime, false); new com.concurrent_ruby.ext.JRubyMapBackendLibrary().load(runtime, false); return true; } }
Version data entries
220 entries across 204 versions & 36 rubygems