release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices (Operator)
Name
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices — Schließen aller Compute Devices.
Warnung
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices 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()
def release_all_compute_devices() -> None
Beschreibung
release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices schließt alle Compute Devices für den
aktuellen HALCON Thread und gibt alle zugehörigen Ressourcen frei.
Der Zweck von release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices ist einzig diese Ressourcen
vor dem Entladen der HALCON Bibliothek freizugeben, wenn diese mit einem
Mechanismus wie LoadLibrary oder dlopen geladen wurde. In allen anderen
Fällen darf release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices 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_devicesReleaseAllComputeDevicesReleaseAllComputeDevicesReleaseAllComputeDevicesrelease_all_compute_devices den Wert TRUE zurück.
Andernfalls wird eine Fehlerbehandlung durchgeführt.
Siehe auch
release_compute_devicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDeviceReleaseComputeDevicerelease_compute_device,
deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device,
deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesdeactivate_all_compute_devices
Modul
Foundation