Efl.ThreadIO (mixin)

Description

This mixin defines input and output pointers to allow exchanging data with another thread. It also defines a mechanism to call methods on that thread.

Members

call

Executes a method on a different thread, asynchronously.
void efl_threadio_call(Eo *obj, EflThreadIOCall func);


call_sync

Executes a method on a different thread, synchronously. This call will not return until the method finishes and its return value can be recovered.
void *efl_threadio_call_sync(Eo *obj, EflThreadIOCallSync func);


indata (get, set)

Input data pointer for the thread.
void *efl_threadio_indata_get(const Eo *obj);
void efl_threadio_indata_set(Eo *obj, void *data);


outdata (get, set)

Output data pointer for the thread.
void *efl_threadio_outdata_get(const Eo *obj);
void efl_threadio_outdata_set(Eo *obj, void *data);


Events