threaded_engine_post/2 — The Logtalk Handbook v3.47.0 documentation

# `threaded_engine_post/2`

## Description

    threaded_engine_post(Engine, Term)

Posts a term to the engine term queue.

## Modes and number of proofs

    threaded_engine_post(@nonvar, @term) - one

## Errors

`Engine` is a variable:
`instantiation_error`
`Engine` is neither a variable nor the name of an existing engine:
`existence_error(engine, Engine)`

## Examples

    % post the atom "ready" to the worker_1 engine queue:
    | ?- threaded_engine_post(worker_1, ready).

See also

threaded_engine_fetch/1