10.5 library(threadutil): Interactive thread utilities
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • library(threadutil): Interactive thread utilities
          • threads/0
          • join_threads/0
          • with_stopped_threads/2
          • thread_has_console/0
          • attach_console/0
          • attach_console/1
          • tspy/1
          • tspy/2
          • tdebug/0
          • tdebug/1
          • tnodebug/0
          • tnodebug/1
          • tbacktrace/1
          • tbacktrace/2
          • tprofile/1
          • thread_alias/1
    • Packages
Availability::- use_module(library(threadutil)).(can be autoloaded)
Source[det]attach_console
[det]attach_console(+Title)
Create a new console and make the standard Prolog streams point to it. If not provided, the title is built using the thread id. Does nothing if the current thread already has a console attached.