Skip to main content

MthrFree

Free an Aurora Imaging Library thread context, event, or mutex.

Syntax

void MthrFree(
AIL_ID ThreadEventorMutexId //in
)

Description

This function deallocates an Aurora Imaging Library thread context, event, or mutex previously allocated with MthrAlloc.

To free an Aurora Imaging Library thread allocated by MthrAlloc, you must call MthrFree from another thread. MthrFree will wait indefinitely for that thread to terminate it's execution before returning.

All Aurora Imaging Library thread contexts, events, or mutexes allocated on a particular system must be freed before the system can be freed, unless M_UNIQUE_ID was specified during allocation.

Parameters

ThreadEventorMutexId (in, AIL_ID)

Specifies the identifier of the Aurora Imaging Library thread context/event/mutex to free.

Copyright © 2026 Zebra Technologies.