class RCGTK::GlobalVariable
This class represents global variables.
Public Instance Methods
thread_local=(local)
click to toggle source
Set this global variable as thread local or not.
@param [Boolean] local
@return [void]
# File lib/rcgtk/value.rb, line 1244 def thread_local=(local) Bindings.set_thread_local(@ptr, local.to_i) end
thread_local?()
click to toggle source
Check to see if this global variable is thread local.
@return [Boolean]
# File lib/rcgtk/value.rb, line 1235 def thread_local? Bindings.is_thread_local(@ptr).to_bool end