Function

IdeThreadPoolpush

Declaration

void
ide_thread_pool_push (
  IdeThreadPoolKind kind,
  IdeThreadFunc func,
  gpointer func_data
)

Description

Runs the callback on the thread pool thread.

Parameters

kind

Type: IdeThreadPoolKind

The threadpool kind to use.

func

Type: IdeThreadFunc

A function to call in the worker thread.

func_data

Type: gpointer

User data for func.

The argument can be NULL.
The data is owned by the caller of the function.