trivial-main-thread

API Reference

trivial-main-thread

Compatibility library to run things in the main thread.

TRIVIAL-MAIN-THREAD

  • Variable *RUNNER*
    (make-instance 'simple-tasks:queued-runner)
  • Function FIND-MAIN-THREAD
  • Variable *MAIN-THREAD*
    nil
  • Function SWAP-MAIN-THREAD (new-function &optional main-thread)
  • Function START-MAIN-RUNNER (&key main-thread (runner *runner*))
  • Function STOP-MAIN-RUNNER (&key main-thread (runner *runner*))
  • Function ENSURE-MAIN-RUNNER (&key main-thread (runner *runner*))
  • Function ENSURE-MAIN-RUNNER-STARTED (&key main-thread (runner *runner*))
  • Function SCHEDULE-TASK (task &optional (runner *runner*))
  • Function CALL-IN-MAIN-THREAD (function &key blocking (runner *runner*))
  • Macro WITH-BODY-IN-MAIN-THREAD ((&key blocking (runner '*runner*)) &body body)