Exception: RustyRacer::WrongThreadError

Inherits:
Error
  • Object
show all
Defined in:
lib/rusty_racer.rb

Overview

Raised when an Isolate (or a Context/Module/Script it handed out) is used from a thread other than the one that created it. An isolate is thread-confined: every operation must run on its owner thread. The lone exception is Isolate#terminate, which is safe from any thread.