laptop and a wrench

Error

"Getting To Know" (GTK) samples consume high CPU usage.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM000594
EnviadoDecember 14, 2005
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.1
Lenguaje del programaC++
Versión corregida9.2
EstadoFixed

Solución alternativa

1. Create a header file named gtk_axctl_zzz.h with the following code: #include <time.h> extern "C" static gboolean gtk_axctl_rest(gpointer data) { static struct timespec ts; ts.tv_sec = 0; ts.tv_nsec = 1000; nanosleep(&ts, NULL); return TRUE; }2. #include gtk_axctl_zzz.h in the source file3. before gtk_main(), put: g_idle_add(gtk_axctl_rest, NULL);User needs to include /usr/lib/librt.so library in the compiling script also.

Pasos para reproducir

ID del error: NIM000594

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga