You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: thread_test.rb
    path of file: ./repos/artichoke/artichoke-backend/src/extn/core/thread
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

def spec
  thread_required_by_default?
  current_thread_main?
  thread_joi
    
def spec
  thread_required_by_default?
  current_thread_main?
  thread_join_value
  thread_main_running?
  thread_spawn
  thread_locals
  thread_abort_on_exception

  true
end