release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevices (Operator)
Name
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevices
— Schließen aller Compute Devices.
Warnung
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevices
darf nicht in HDevelop verwendet
werden!
Signatur
release_all_compute_devices( : : : )
Herror release_all_compute_devices()
Herror T_release_all_compute_devices()
void ReleaseAllComputeDevices()
static void HComputeDevice::ReleaseAllComputeDevices()
Beschreibung
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevices
schließt alle Compute Devices für den
aktuellen HALCON Thread und gibt alle zugehörigen Resourcen frei.
Der Zweck von release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevices
ist einzig diese Resourcen
vor dem Entladen der HALCON Bibliothek freizugeben, wenn diese mit einem
Meachnismus wie LoadLibrary oder dlopen geladen wurde. In allen anderen
Fällen darf release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevices
nicht verwendet werden!
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Ergebnis
Wurden alle Compute Devices erfolgreich geschlossen, gibt
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevices
den Wert 2 (H_MSG_TRUE) zurück.
Andernfalls wird eine Fehlerbehandlung durchgeführt.
Siehe auch
release_compute_devicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDeviceReleaseComputeDevice
,
deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevice
,
deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesDeactivateAllComputeDevices
Modul
Foundation