# File lib/ruby-vpi/core/scheduler.rb, line 217
  def process *aBlockArgs
    RubyVPI::Scheduler.ensure_caller_is_registered
    raise ArgumentError, "block must be given" unless block_given?

    Thread.new do
      RubyVPI::Scheduler.attach
      yield(*aBlockArgs)
      RubyVPI::Scheduler.detach
    end
  end