forked from enlightenment/evisum
machine: Rename
This commit is contained in:
parent
ce200bf65f
commit
30dba9499e
|
@ -1182,7 +1182,7 @@ _network_transfer_get_thread_cb(void *arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
sys_info_all_free(Sys_Info *info)
|
system_info_all_free(Sys_Info *info)
|
||||||
{
|
{
|
||||||
sensor_t *snsr;
|
sensor_t *snsr;
|
||||||
int i;
|
int i;
|
||||||
|
@ -1215,7 +1215,7 @@ sys_info_all_free(Sys_Info *info)
|
||||||
}
|
}
|
||||||
|
|
||||||
Sys_Info *
|
Sys_Info *
|
||||||
sys_info_all_get(void)
|
system_info_all_get(void)
|
||||||
{
|
{
|
||||||
Sys_Info *info;
|
Sys_Info *info;
|
||||||
void *ret;
|
void *ret;
|
||||||
|
|
|
@ -67,10 +67,10 @@ struct Sys_Info
|
||||||
};
|
};
|
||||||
|
|
||||||
Sys_Info *
|
Sys_Info *
|
||||||
sys_info_all_get(void);
|
system_info_all_get(void);
|
||||||
|
|
||||||
void
|
void
|
||||||
sys_info_all_free(Sys_Info *);
|
system_info_all_free(Sys_Info *);
|
||||||
|
|
||||||
int
|
int
|
||||||
system_cpu_online_count_get();
|
system_cpu_online_count_get();
|
||||||
|
|
|
@ -1535,13 +1535,13 @@ _thread_error_cb(void *data EINA_UNUSED, Ecore_Thread *thread)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_sys_info_all_poll(void *data, Ecore_Thread *thread)
|
_system_info_all_poll(void *data, Ecore_Thread *thread)
|
||||||
{
|
{
|
||||||
Ui *ui = data;
|
Ui *ui = data;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
Sys_Info *info = sys_info_all_get();
|
Sys_Info *info = system_info_all_get();
|
||||||
if (!info)
|
if (!info)
|
||||||
{
|
{
|
||||||
ecore_main_loop_quit();
|
ecore_main_loop_quit();
|
||||||
|
@ -1565,7 +1565,7 @@ _sys_info_all_poll(void *data, Ecore_Thread *thread)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_sys_info_all_poll_feedback_cb(void *data, Ecore_Thread *thread, void *msg)
|
_system_info_all_poll_feedback_cb(void *data, Ecore_Thread *thread, void *msg)
|
||||||
{
|
{
|
||||||
Ui *ui;
|
Ui *ui;
|
||||||
Evas_Object *pb;
|
Evas_Object *pb;
|
||||||
|
@ -1603,7 +1603,7 @@ _sys_info_all_poll_feedback_cb(void *data, Ecore_Thread *thread, void *msg)
|
||||||
evisum_size_format(info->memory.used),
|
evisum_size_format(info->memory.used),
|
||||||
evisum_size_format(info->memory.total)));
|
evisum_size_format(info->memory.total)));
|
||||||
out:
|
out:
|
||||||
sys_info_all_free(info);
|
system_info_all_free(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -1612,8 +1612,8 @@ _ui_launch(Ui *ui)
|
||||||
_process_list_update(ui);
|
_process_list_update(ui);
|
||||||
|
|
||||||
ui->thread_system =
|
ui->thread_system =
|
||||||
ecore_thread_feedback_run(_sys_info_all_poll,
|
ecore_thread_feedback_run(_system_info_all_poll,
|
||||||
_sys_info_all_poll_feedback_cb, _thread_end_cb,
|
_system_info_all_poll_feedback_cb, _thread_end_cb,
|
||||||
_thread_error_cb, ui, EINA_FALSE);
|
_thread_error_cb, ui, EINA_FALSE);
|
||||||
|
|
||||||
ui->thread_process =
|
ui->thread_process =
|
||||||
|
|
Loading…
Reference in New Issue