10.2 Monitoring threads
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • Monitoring threads
          • is_thread/1
          • thread_property/2
          • thread_statistics/3
          • mutex_statistics/0
    • Packages
Availability:built-in
mutex_statistics
Print usage statistics on internal mutexes and mutexes associated with dynamic predicates. For each mutex two numbers are printed: the number of times the mutex was acquired and the number of collisions: the number of times the calling thread has to wait for the mutex. The output is written to current_output and can thus be redirected using with_output_to/2.