| MIL 10 Reference
| Customize Help
| Save Settings

MthrFree



See also
User Guide:
Reference:
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Free a MIL thread context, event, or mutex.
Syntax
void MthrFree(
MIL_ID ThreadEventorMutexId //in
)
Description

This function deallocates a MIL thread context, event, or mutex previously allocated with MthrAlloc().

In a given thread, MthrFree() must be the last MIL function called; no other MIL function can be executed in the thread after a call to this function.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ThreadEventorMutexId

Specifies the identifier of the MIL thread context/event/mutex to free.

Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.