10.5 Thread support library(threadutil)
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • Thread support library(threadutil)
          • threads/0
          • join_threads/0
          • interactor/0
          • Debugging threads
          • Profiling threads
    • Packages
Availability::- use_module(library(threadutil)).(can be autoloaded)
Sourcejoin_threads
Join all terminated threads. For normal applications, dealing with terminated threads must be part of the application logic, either detaching the thread before termination or making sure it will be joined. The predicate join_threads/0 is intended for interactive sessions to reclaim resources from threads that died unexpectedly during development.