code: public void run(Runnable r) {
      Context previous = attach();
      try {
        r.run();
      } finally {
        detach(previous);
      }
    }
docs: Immediately run a {@link Runnable} with this context as the {@link #current} context.
  @param r {@link Runnable} to run.