mutex.locked? â true or false Instance Public methods Returns true if this lock is currently held by some thread.
mutex.lock â self Instance Public methods Attempts to grab the lock and waits if it isn't available. Raises ThreadError if mutex was locked by the current thread.
Mutex.new â mutex Class Public methods Creates a new Mutex
pseudo_toplevel_evaluable?() Instance Public methods def pseudo_toplevel_eval(body = Proc.new) Thread.current[:TOPLEVEL] = self begin body.call ensure Thread.current[:TOPLEVEL] = nil end end
pseudo_toplevel_evaluable=(mode) Instance Public methods
extended(mod) Class Public methods
send(thread, ret=nil) Class Public methods
new(ret=nil) Class Public methods
_is_master_of?(tcltkip_obj) Instance Protected methods
wait_on_mainloop?() Instance Public methods
Page 1719 of 2275