Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (39 sloc) 1.37 KB
.. index:: threaded_engine_self/1

threaded_engine_self/1

Description

threaded_engine_self(Engine)

Queries the name of engine calling the predicate.

Modes and number of proofs

threaded_engine_self(?nonvar) - zero_or_one

Errors

(none)

Examples

% find the name of the engine making the query:
..., threaded_engine_self(Engine), ...

% check if the the engine making the query is worker_1:
..., threaded_engine_self(worker_1), ...
.. seealso::

   :ref:`predicates_threaded_engine_create_3`,
   :ref:`predicates_threaded_engine_destroy_1`,
   :ref:`predicates_threaded_engine_1`
You can’t perform that action at this time.