public BlockingQueue<IRubyObject> getQueueSafe() { BlockingQueue<IRubyObject> queue = this.queue; checkShutdown(); return queue; }
public BlockingQueue<IRubyObject> getQueueSafe() { BlockingQueue<IRubyObject> queue = this.queue; checkShutdown(); return queue; }
public void push(ThreadContext context, final IRubyObject[] args) { checkShutdown(); try { context.getThread().executeTask(context, args, putTask); } catch (InterruptedException ie) { throw context.runtime.newThreadError("interrupted in FiberQueue.push"); } }
public void push(ThreadContext context, final IRubyObject[] args) { checkShutdown(); try { context.getThread().executeTask(context, args, putTask); } catch (InterruptedException ie) { throw context.runtime.newThreadError("interrupted in FiberQueue.push"); } }