forked from enlightenment/efl
parent
0cdb510001
commit
d214a77221
|
@ -167,11 +167,11 @@ extern "C" {
|
|||
typedef struct _Ecore_Exe_Event_Data_Line Ecore_Exe_Event_Data_Line; /**< Lines from a child process */
|
||||
typedef struct _Ecore_Exe_Event_Data Ecore_Exe_Event_Data; /**< Data from a child process */
|
||||
typedef struct _Ecore_Thread Ecore_Thread;
|
||||
typedef void (*Ecore_Thread_Func_Blocking) (void *data);
|
||||
typedef void (*Ecore_Thread_Func_End) (void *data);
|
||||
typedef void (*Ecore_Thread_Func_Cancel) (void *data);
|
||||
typedef void (*Ecore_Thread_Func_Heavy) (Ecore_Thread *thread, void *data);
|
||||
typedef void (*Ecore_Thread_Func_Notify) (Ecore_Thread *thread, void *msg_data, void *data);
|
||||
typedef void (*Ecore_Thread_Blocking_Cb) (void *data);
|
||||
typedef void (*Ecore_Thread_End_Cb) (void *data);
|
||||
typedef void (*Ecore_Thread_Cancel_Cb) (void *data);
|
||||
typedef void (*Ecore_Thread_Heavy_Cb) (Ecore_Thread *thread, void *data);
|
||||
typedef void (*Ecore_Thread_Notify_Cb) (Ecore_Thread *thread, void *msg_data, void *data);
|
||||
|
||||
|
||||
|
||||
|
@ -342,14 +342,14 @@ extern "C" {
|
|||
EAPI void ecore_pipe_write_close(Ecore_Pipe *p);
|
||||
EAPI void ecore_pipe_read_close(Ecore_Pipe *p);
|
||||
|
||||
EAPI Ecore_Thread *ecore_thread_run(Ecore_Thread_Func_Blocking,
|
||||
Ecore_Thread_Func_End,
|
||||
Ecore_Thread_Func_Cancel,
|
||||
EAPI Ecore_Thread *ecore_thread_run(Ecore_Thread_Blocking_Cb,
|
||||
Ecore_Thread_End_Cb,
|
||||
Ecore_Thread_Cancel_Cb,
|
||||
const void *data);
|
||||
EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Func_Heavy,
|
||||
Ecore_Thread_Func_Notify,
|
||||
Ecore_Thread_Func_End,
|
||||
Ecore_Thread_Func_Cancel,
|
||||
EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Heavy_Cb,
|
||||
Ecore_Thread_Notify_Cb,
|
||||
Ecore_Thread_End_Cb,
|
||||
Ecore_Thread_Cancel_Cb,
|
||||
const void *data,
|
||||
Eina_Bool try_no_queue);
|
||||
EAPI Eina_Bool ecore_thread_cancel(Ecore_Thread *thread);
|
||||
|
|
|
@ -374,9 +374,9 @@ _ecore_thread_shutdown(void)
|
|||
* host CPU can handle.
|
||||
*/
|
||||
EAPI Ecore_Thread *
|
||||
ecore_thread_run(Ecore_Thread_Func_Blocking func_blocking,
|
||||
Ecore_Thread_Func_End func_end,
|
||||
Ecore_Thread_Func_Cancel func_cancel,
|
||||
ecore_thread_run(Ecore_Thread_Blocking_Cb func_blocking,
|
||||
Ecore_Thread_End_Cb func_end,
|
||||
Ecore_Thread_Cancel_Cb func_cancel,
|
||||
const void *data)
|
||||
{
|
||||
#ifdef EFL_HAVE_PTHREAD
|
||||
|
@ -543,10 +543,10 @@ ecore_thread_check(Ecore_Thread *thread)
|
|||
* the CPU down, so be carefull with that. Of course if it can't start a new thread, it will
|
||||
* try to use one from the pool.
|
||||
*/
|
||||
EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Func_Heavy func_heavy,
|
||||
Ecore_Thread_Func_Notify func_notify,
|
||||
Ecore_Thread_Func_End func_end,
|
||||
Ecore_Thread_Func_Cancel func_cancel,
|
||||
EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Heavy_Cb func_heavy,
|
||||
Ecore_Thread_Notify_Cb func_notify,
|
||||
Ecore_Thread_End_Cb func_end,
|
||||
Ecore_Thread_Cancel_Cb func_cancel,
|
||||
const void *data,
|
||||
Eina_Bool try_no_queue)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue