Ecore_Job_Group (3) - Linux Manuals
Ecore_Job_Group: You can queue jobs that are to be done by the main loop when the current event is dealt with.
NAME
Ecore Jobs - You can queue jobs that are to be done by the main loop when the current event is dealt with.
Functions
EAPI Ecore_Job * ecore_job_add (void(*func)(void *data), const void *data)
Add a job to the event queue.
EAPI void * ecore_job_del (Ecore_Job *job)
Delete a queued job that has not yet been executed.
Detailed Description
You can queue jobs that are to be done by the main loop when the current event is dealt with.
Function Documentation
EAPI Ecore_Job* ecore_job_add (void(*)(void *data) func, const void * data)
Add a job to the event queue.
Parameters:
-
func The function to call when the job gets handled.
data Data pointer to be passed to the job function when the job is handled.
Returns:
- The handle of the job. NULL is returned if the job could not be added to the queue.
Note:
- Once the job has been executed, the job handle is invalid.
EAPI void* ecore_job_del (Ecore_Job * job)
Delete a queued job that has not yet been executed.
Parameters:
- job Handle of the job to delete.
Returns:
- The data pointer that was to be passed to the job.
Author
Generated automatically by Doxygen for Ecore from the source code.