schroasync

schroasync

Functions

Types and Values

Description

Functions

SchroAsyncCompleteFunc ()

void
(*SchroAsyncCompleteFunc) (void *Param1);


SchroAsyncScheduleFunc ()

int
(*SchroAsyncScheduleFunc) (void *Param1,
                           SchroExecDomain exec_domain);

Returns


schro_async_new ()

SchroAsync *
schro_async_new (int n_threads,
                 SchroAsyncScheduleFunc schedule,
                 SchroAsyncCompleteFunc complete,
                 void *closure);

Returns


schro_async_free ()

void
schro_async_free (SchroAsync *async);


schro_async_lock ()

void
schro_async_lock (SchroAsync *async);


schro_async_unlock ()

void
schro_async_unlock (SchroAsync *async);


schro_async_signal_scheduler ()

void
schro_async_signal_scheduler (SchroAsync *async);


schro_async_wait_locked ()

int
schro_async_wait_locked (SchroAsync *async);

Returns


schro_async_get_exec_domain ()

SchroExecDomain
schro_async_get_exec_domain (void);

Returns

Types and Values

SchroAsync

typedef struct _SchroAsync SchroAsync;


struct SchroAsyncTask

struct SchroAsyncTask {
  SchroAsyncTaskFunc task_func;
  void *priv;
};


SchroThread

typedef struct _SchroThread SchroThread;