Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
3.14.2 Multi-threaded Prolog
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
The HTTP server libraries
Running the server
Multi-threaded Prolog
http_server/3
http_server_property/2
http_workers/2
http_add_worker/2
http_stop_server/2
http_current_worker/2
http_spawn/2
Availability:
:- use_module(
library(http/thread_httpd)
).
http_current_worker
(
?Port, ?ThreadID
)
True if
ThreadID
is the identifier of a Prolog thread serving
Port
. This predicate is motivated to allow for the use of arbitrary interaction with the worker thread for development and statistics.
ClioPatria
(version
V3.1.1-40-g9d9e003
)