module Tins::ThreadGlobal

def instance_thread_global(name, value = nil)

variable.
_name_. If the value _value_ is given, it is used to initialize the
Define a thread global variable for the current instance with name
def instance_thread_global(name, value = nil)
  sc = class << self
    extend Tins::ThreadGlobal
    self
  end
  sc.thread_global name, value
  self
end