/usr/lib/swipl/library/thread_pool.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl -- Print debug messages and test assertions
      • apply.pl -- Apply predicates on a list
      • lists.pl -- List Manipulation
      • broadcast.pl -- Event service
      • shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
      • option.pl -- Option list processing
      • thread_pool.pl -- Resource bounded thread management
        • thread_pool_create/3
        • thread_pool_destroy/1
        • current_thread_pool/1
        • thread_pool_property/2
        • thread_create_in_pool/4
        • worker_exitted/3
        • create_pool/1
      • gensym.pl -- Generate unique symbols
      • settings.pl
      • arithmetic.pl -- Extensible arithmetic
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl -- Manage operators
      • pairs.pl -- Operations on key-value lists
      • prolog_source.pl -- Examine Prolog source-files
      • record.pl -- Access compound arguments by name
      • quasi_quotations.pl
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • yall.pl -- Lambda expressions
      • assoc.pl -- Binary associations
      • prolog_format.pl -- Analyse format specifications
      • pure_input.pl -- Pure Input from files and streams
      • solution_sequences.pl
      • ordsets.pl -- Ordered set manipulation
      • random.pl -- Random numbers
      • base64.pl -- Base64 encoding and decoding
      • aggregate.pl -- Aggregation operators on backtrackable predicates
      • predicate_options.pl -- Access and analyse predicate options
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • pprint.pl -- Pretty Print Prolog terms
      • atom.pl -- Operations on atoms
      • modules.pl -- Module utility predicates
      • occurs.pl -- Finding and counting sub-terms
      • prolog_xref.pl
      • prolog_colour.pl -- Prolog syntax colouring support.
      • lazy_lists.pl -- Lazy list handling
      • ugraphs.pl
      • url.pl -- Analysing and constructing URL
      • www_browser.pl -- Open a URL in the users browser
      • prolog_pack.pl -- A package manager for Prolog
      • git.pl
      • utf8.pl -- UTF-8 encoding/decoding on lists of character codes.
      • quintus.pl
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • prolog_wrap.pl -- Wrapping predicates
      • dialect.pl -- Support multiple Prolog dialects
      • date.pl -- Process dates and times
      • persistency.pl -- Provide persistent dynamic predicates
      • iostream.pl -- Utilities to deal with streams
      • prolog_code.pl -- Utilities for reasoning about code
      • strings.pl
      • terms.pl -- Term manipulation
      • edinburgh.pl
      • dif.pl -- The dif/2 constraint
      • ansi_term.pl -- Print decorated text to ANSI consoles
      • threadutil.pl -- Interactive thread utilities
      • prolog_stack.pl -- Examine the Prolog stack
      • prolog_clause.pl
      • prolog_breakpoints.pl
      • wfs.pl -- Well Founded Semantics interface
      • sort.pl
      • dicts.pl
      • varnumbers.pl -- Utilities for numbered terms
      • rbtrees.pl -- Red black trees
      • backcomp.pl -- Backward compatibility
      • charsio.pl -- I/O on Lists of Character Codes
      • statistics.pl -- Get information about resource usage
      • thread.pl -- High level thread primitives
      • prolog_qlfmake.pl -- Compile the library to QLF format
      • rwlocks.pl -- Read/write locks
      • writef.pl -- Old-style formatted write
      • hashtable.pl -- Hash tables
      • base32.pl -- Base32 encoding and decoding
      • oset.pl -- Ordered set manipulation
      • ctypes.pl -- Character code classification
      • codesio.pl -- I/O on Lists of Character Codes
      • coinduction.pl
      • heaps.pl -- heaps/priority queues
      • when.pl -- Conditional coroutining
      • prolog_profile.pl -- Execution profiler
      • macros.pl -- Macro expansion
      • listing.pl -- List programs and pretty print clauses
      • prolog_coverage.pl -- Coverage analysis tool
      • shell.pl -- Elementary shell commands
      • prolog_debug.pl -- User level debugging tools
      • tableutil.pl -- Table inspection and statistics utilities
      • help.pl -- Text based manual
      • prolog_config.pl -- Provide configuration information
      • prolog_autoload.pl
      • check.pl -- Consistency checking
      • tables.pl -- XSB interface to tables
      • prolog_deps.pl -- Compute file dependencies
      • vm.pl -- SWI-Prolog Virtual Machine utilities
      • increval.pl
      • zip.pl
      • system.pl -- System utilities
      • exceptions.pl -- Exception classification
      • intercept.pl -- Intercept and signal interface
      • streams.pl -- Manage Prolog streams
      • files.pl
      • prolog_metainference.pl
      • prolog_codewalk.pl -- Prolog code walker
      • portray_text.pl -- Portray text
 thread_pool_property(?Name, ?Property) is nondet
True if Property is a property of thread pool Name. Defined properties are:
options(Options)
Thread creation options for this pool
free(Size)
Number of free slots on this pool
size(Size)
Total number of slots on this pool
members(ListOfIDs)
ListOfIDs is the list or threads running in this pool
running(Running)
Number of running threads in this pool
backlog(Size)
Number of delayed thread creations on this pool