laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM000594
已提交December 14, 2005
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.1
编程语言C++
修正版本9.2
状态Fixed

解决办法

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.

重现步骤

漏洞 ID: NIM000594

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项