Chapter 4   Glossary

Thread

A thread is a procedure that runs independently from and in parallel with its main program. It shares global variables and resources with other threads and holds local ones exclusively.

Thread Safe

A procedure is considered to be thread safe when it accesses or manipulates shared data and resources in a manner that guarantees predictable and reproducible results in an arbitrary multithreaded environment.

Reentrant

The term  reentrant  is sometimes used to mean “efficiently thread-safe”. In HALCON, not all operators are fully reentrant. The different levels of reentrancy are described in the Programmer's Guide.

Exclusive

Data, resources or code is accessed or executed exclusively, if it is guaranteed that it can only be accessed or executed by one thread at the same time.

Message Queue

A message queue is a thread safe FIFO (“First In First Out”) list to pass data between threads.

Producer Consumer Model

Within the producer consumer model, some threads (i.e., producers) provide other threads (i.e., consumers) with data.

Data Parallelization

Data parallelization describes a parallelization concept that separates data into independent data groups and processes these data groups simultaneously.

Task Parallelization

Task parallelization describes a parallelization concept that divides the problem into several independent subtasks and executes these subtasks simultaneously.

AOP (automatic operator parallelization)

AOP is a type of data parallelization that is by default used internally for selected/distinguished operators.